FMT statement

The FMT statement initiates and names a format definition that includes one or more device formats differing only in the device type and features specified in the DEV statement.

Each device format included in the format definition specifies the layout for data sent to or received from a device or a remote program.

Format

Read syntax diagramSkip visual syntax diagram
>>-label--FMT--+-blanks---+------------------------------------><
               '-comments-'   

Parameters

label
A required one- to six-character alphanumeric name that is referred to by message descriptors in the SOR= operand of MSG statements.

The name specified for label becomes part of the member name used for the resulting device output format and device input format blocks that are stored in the IMS™.FORMAT library.

If DEV TYPE=DPM-An, and DIV OPTIONS=MSG, the name specified for label is sent to the remote program as the data name in the output message header.

If DEV TYPE=DPM-Bn, and DIV OPTIONS=(MSG,DNM), the name specified for label is sent to the other subsystem as the data structure name in the DD FM header.