Format identifiers for the /DISPLAY command

Output from the /DISPLAY command includes a format identifier (FID) on each output segment. /DISPLAY commands generally return multiple lines with different formats to the AO application. Your AO application uses the FID to determine what type of line it is processing. A DFS message might be produced with no FID when there is a syntax error.

When a /DISPLAY command is entered with an ICMD call, a command response segment is always produced. Normally, the response is a multi-segment message. Each segment contains EBCDIC and line control characters. Each segment varies in length with a maximum of 132 but usually less than 80 characters.

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 format of the FID is:
FID character 1
Specific /DISPLAY command class (A-Z)
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.