Format identifiers for the /DISPLAY command

When a /DISPLAY command is issued from a CSLOMCMD or CSLOMI call, a command response segment is always produced. If OPTION=AOPOUTPUT is specified on the CSLOMCMD or CSLOMI call, the output from the /DISPLAY command also includes a format identifier (FID) on each output segment.

Your application can use the FID to determine what type of line it is processing. The mapping of the /DISPLAY output line with the FID can be found in the DISPLAY macro. A DFS message might be produced with no FID if a syntax error occurs.

The FID is 3 bytes of EBCDIC characters. It appears at the beginning of each line, after the LLZZ and any optional carriage control character. The FID indicates to an AOI program how to map the line of output. The FID can be useful if you are converting existing AOI programs to OM AOI programs. The format of the FID is:
FID character 1
Specific /DISPLAY command class (A-Z) as follows:
FID characters 2-3
Type of output line
The following are the values you can receive in FID characters 1-3 when issuing /DISPLAY using an ICMD.
FID char 1
Defines specific /DISPLAY command:
A
/DISPLAY ACTIVE, /DIS AOITOKEN, /DISPLAY APPC
B
/DISPLAY PSB
C
/DISPLAY CONVERSATION
D
/DISPLAY AREA, /DISPLAY DATABASE, /DISPLAY DESCRIPTOR
E
/DISPLAY MSNAME
F
/DISPLAY LTERM
G
/DISPLAY SHUTDOWN STATUS
H
/DISPLAY ASMT LINE/PTERM/LTERM/NODE/USER, /DISPLAY HSB
I
/DISPLAY ASMT LINK/MSPLINK/SYSID/MSNAME
J
/DISPLAY DBD
K
/DISPLAY LINK
L
/DISPLAY LINE, /DISPLAY LUNAME, /DISPLAY PTERM
M
/DISPLAY MASTER (/RDISPLAY)
N
/DISPLAY NODE
P
/DISPLAY PROGRAM
Q
/DISPLAY Q
R
/DISPLAY RTCODE
S
/DISPLAY STATUS
T
/DISPLAY TRANSACTION, /DISPLAY TIMEOVER, /DISPLAY SYSID TRANSACTION
U
/DISPLAY USER, /DISPLAY TRACE
V
/DISPLAY CCTL, /DISPLAY OASN SUBSYS, /DISPLAY SUBSYS
W
/DISPLAY OLDS
X
Time stamp, /DISPLAY POOL DSECTS
Y
/DISPLAY MODIFY
Z
/DISPLAY HSSP
FID chars 2-3
Defines type of output line:
00-49
Data line
50-69
Message line
70-89
Heading line
90-98
Reserved
99
Time stamp line

The response to the /DISPLAY POOL command does not include a FID. You can get similar information about a buffer pool using a DL/I STAT call, although the STAT call returns no Fast Path information.