DPAGE statement

The DPAGE statement defines a logical page of a device format. This statement can be omitted if none of the message descriptors referring to this device format (FMT) contain LPAGE statements and no specific device option is required.

Format for DEV TYPE=DPM-An or DPM-Bn AND DIV TYPE=INPUT

Read syntax diagramSkip visual syntax diagramlabelDPAGECOND=(offset,>=<=><=¬,' value')

Format for DEV TYPE=DPM-An AND DIV TYPE=OUTPUT

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULL

Format for DEV TYPE=DPM-Bn AND DIV TYPE=OUTPUT

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULL,OFTAB=(X'hh'C'c',MIX,ALL)

Format for DEV TYPE=3270-An

Read syntax diagramSkip visual syntax diagramlabelDPAGECURSOR=(,(111,ccc, dfld)),FILL=PTX'hh'C'c'NONENULL,MULT=YES,PD=pdname,ACTVPID=dfldname

Format for DEV TYPE=3270

Read syntax diagramSkip visual syntax diagramlabelDPAGECURSOR=(,(111,ccc,dfld)),FILL=PTX'hh'C'c'NONENULL,MULT=YES

Format for DEV TYPE=3270P

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULL

Format for DEV TYPE=FIN

Read syntax diagramSkip visual syntax diagramlabelDPAGECOND=(offset,>=<=><=¬,' value')

Format for DEV TYPE=FIDS, FIDS3, FIDS4, or FIDS7

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULLCURSOR=(,(111, ccc, dfld)),ORIGIN=(,ABSOLUTERELATIVE)

Format for DEV TYPE=FIJP or FIPB

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULL

Format for DEV TYPE=FIFP

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULLSELECT=(,LEFTRIGHTDUAL)

Format for DEV TYPE=SCS1 or SCS2 AND DIV TYPE=INPUT

Read syntax diagramSkip visual syntax diagramlabelDPAGECOND=(offset,>=<=><=¬,' value')

Format for DEV TYPE=SCS1 or SCS2 AND DIV TYPE=OUTPUT

Read syntax diagramSkip visual syntax diagramlabelDPAGEFILL=X'40'X'hh'C'c'NONENULL

Parameters

label
A 1- to 8-byte alphanumeric name can be specified for this device format that contains LPAGE SOR= references, or if only one DPAGE statement is defined for the device. If multiple DEV statements are defined in the same FMT definition, each must contain DPAGE statements with the same label.

For device type DPM-An and DIV statement OPTIONS=DPAGE, this name is sent to the remote program as the data name in the output message header. If label is omitted, MFS generates a diagnostic name and sends it to the remote program in the header. If the DPAGE statement is omitted, the label on the FMT statement is sent in the output message header. If OPTIONS=DNM, the label on the FMT statement is sent as the DSN in the DD header.

COND=
Specifies a conditional test to be performed on the first input record. The offset specified is relative to zero. The specification of the offset must allow for the LLZZ field of the input record (for example, the first data byte is at offset 4). If the condition is satisfied, the DFLDs defined following this DPAGE are used to format the input. When no conditions are satisfied, the last defined DPAGE will be used only if the last defined DPAGE does not specify COND=. If the COND= parameter is specified for the last DPAGE defined and the last defined DPAGE condition is not satisfied, the input message will be rejected. Multiple LPAGE definitions are allowed in message input definitions.

If this keyword is specified, and OPTIONS=NODNM is specified on the DIV statement, this specification is used for DPAGE selection. If this keyword is specified and OPTIONS=DNM is specified on the DIV statement, the COND= specification is ignored and the data structure name from the DD header is used for DPAGE selection.

Lowercase data entered from Finance, SCS1, or SCS2 keyboards is not translated to uppercase when the COND= comparison is made. Therefore, the literal operand must also be in lowercase.

FILL=
Specifies a fill character for output device fields. Default value for all device types except the 3270 display is X'40'; default for the 3270 display is PT. For 3270 output when EGCS fields are present, only FILL=PT or FILL=NULL should be specified. A FILL=PT erases an output field (either a 1- or 2-byte field) only when data is sent to the field, and thus does not erase the DFLD if the application program message omits the MFLD. For DPM-Bn, if OFTAB is specified, FILL= is ignored and FILL=NULL is assumed.
NONE
Must be specified if the fill character from the message output descriptor is to be used to fill the device fields.
X'hh'
Specifies a hexadecimal character (hh) that is used to fill the device fields.
C'c'
Specifies a character (c) that is used to fill the device fields.
NULL
Specifies that fields are not to be filled. For devices other than the 3270 display, compacted lines are produced when message data does not fill the device fields.

For DPM-An devices, trailing nulls (X'3F') are removed from all records transmitted to the remote program or subsystem. Trailing nulls are removed up to the first non-null character. Null characters between non-null characters are transmitted. If the entire record is null, but more data records follow, a record containing a single null is transmitted to the remote program. If the entire record is null and more records follow, if OPTIONS=MSG or DPAGE, or in a PPAGE, if OPTIONS=PPAGE, then all null records are deleted to the end of that DPAGE or PPAGE.

PT
Is identical to NULL except for the 3270 display. For the 3270 display, specifies that output fields that do not fill the device field (DFLD) are followed by a program tab character to erase data previously in the field; otherwise, this operation is identical to FILL=NULL.

For 3270 display devices, any specification with a value less than X'3F' is changed to X'00' for control characters or to X'40' for other nongraphic characters. For all other devices, any FILL=X'hh' or FILL=C'c' specification with a value less than X'3F' is ignored and defaulted to X'3F' (which is equivalent to a specification of FILL=NULL).

MULT=YES
Specifies that multiple physical page input messages are allowed for this DPAGE.
CURSOR=
Specifies the position of the cursor on a physical page. Multiple cursor positions might be required if a logical page or message consists of multiple physical pages. The value lll specifies line number and ccc specifies column. Both lll and ccc must be greater than or equal to 1. The cursor position must either be on a defined field or defaulted. The default lll,ccc value for 3270 displays is 1,2. For Finance display components, if no cursor position is specified, MFS does not position the cursor—the cursor is normally placed at the end of the output data on the device. For Finance display components, all cursor positioning is absolute, regardless of the ORIGIN= parameter specified.

The dfld parameter provides a method for supplying the application program with cursor information on input and allowing the application program to specify cursor position on output.

Recommendation: Use the cursor attribute facility (specify ATTR=YES in the MFLD statement) for output cursor positioning.

The dfld parameter specifies the name of a field containing the cursor position. This name can be referenced by an MFLD statement and must not be used as the label of a DFLD statement in this DEV definition. The format of this field is two binary halfwords containing line and column number, respectively. When this field is referred to by a message input descriptor, it contains the cursor position at message entry. If referred to by a message output descriptor, the application program places the desired cursor position into this field as two binary halfwords containing line and column, respectively. Binary zeros in the named field cause the values specified for lll,ccc to be used for cursor positioning during output. During input, binary zeros in this field indicate that the cursor position is not defined. The input MFLD referring to this dfld should be defined within a segment with GRAPHIC=NO specified or should use EXIT=(0,2) to convert the binary numbers to decimal.

ORIGIN=
Specifies page positioning on the Finance display for each physical page defined. Default value is ABSOLUTE.
ABSOLUTE
Erases the previous screen and positions the page at line 1 column 1. The line and column specified in the DFLD statement become the actual line and column of the data on the screen.
RELATIVE
Positions the page starting on column 1 of the line following the line where the cursor is positioned at time of output. Results might be undesirable unless all output to the device is planned in a consistent manner.
OFTAB=
Directs MFS to insert the output field tab separator character specified on this DPAGE statement for the output data stream of the DPAGE being described.
X'hh'
Specifies a hexadecimal character (hh) to be used as the output field tab separator character. X'3F' and X'40' are invalid.
C'c'
Specifies a character (c) to be used as the output field tab separator character. You cannot specify a blank for the character (C' ').

The character specified cannot be present in data streams from the IMS application program. If it is present, it is changed to a blank (X'40').

If the output field tab separator character is defined, either MIX or ALL can also be specified. Default value is MIX.

MIX
Specifies that an output field tab separator character is to be inserted into each individual field with no data or with data less than the defined DFLD length.
ALL
Specifies that an output field tab separator character is to be inserted into all fields, regardless of data length.
SELECT=
Specifies carriage selection for a FIFP device with FEAT=DUAL specified in the previous DEV statement. It is your responsibility to ensure that proper forms are mounted and that left margins are set properly. Default value is LEFT.
LEFT
Causes the corresponding physical page defined in this DPAGE to be directed to the left platen.
RIGHT
Causes the corresponding physical page defined in this DPAGE to be directed to the right platen.
DUAL
Causes the corresponding physical page defined in this DPAGE to be directed to both the left and right platens.
PD=
(for the 3180 and 3290 in partition formatted mode) Specifies the name of the partition descriptor of the partition associated with the DPAGE statement. This is the parameter that maps a logical page of a message to or from the appropriate partition. The name of the PD must be contained within the PDB statement specified in the DEV statement.
ACTVPID=
(for the 3290 in partition formatted mode) Specifies the name of an output field in the message containing the partition identification number (PID) of the partition to be activated. This dfldname must be referenced by an MFLD statement and must not be used as the label of a DFLD statement in the DEV definition. The application program places the PID of the partition to be activated in this field. The PID must be in the format of a two byte binary number ranging from X'0000' to X'000F'.
Restriction: Do not specify this operand for the 3180. Because only one partition is allowed for this device, you do not need to specify an active partition.