LST outputs a member to SYSLST. ED specifies the member to be output and LD the library containing this member. The complete type, name and version of the member must be specified.
The parameters COLUM, LINE and INFO are taken into account during output to SYSLST. The value of INFO must be “S” (STD, process standard area). LST is allowed for all member types, with user types being treated in the same way as their base types.
LST offers the user two subcodes for determining the display type of a record:
SUBCODE=SYM
Records are displayed dependent on their member type:
Members are displayed character by character except for types P, R, L and C and types derived from them.
Type P members are also displayed character by character, with the first character of every record being interpreted as feed control character.
In type R members, ESD, ISD, RLD, TXT, TXTP, REP and END information is output in edited form. Other information, for example LSD or DSDD, is output in unedited form. This means that the record length field and, if applicable, the record number are also output. Continuous text information is not divided up.
Type L members (LLMs) are displayed in edited form.
Type C members (load modules) are displayed character by character and in hexadecimal form side by side.
SUBCODE=HEX
Records are displayed character by character and in hexadecimal form one over the other. This means that for every member record, two lines are output. In the first line, the record is displayed character by character and in the second line, in hexadecimal form.
Call parameters
The parameter structures must be given in the following sequence in the subroutine call.
Parameter | Field | Meaning |
CB | SCBVERSION FUNCTION ACC SUBCODE COLUMN-P LINE-P INFO LD-RETURN | Function control block Interface version Function code X’14’ Subroutine access identification Output format (SYM or HEX) Number of columns Number of lines Member subarea to be processed Full DMS file name in LD |
LD | PASSWORD LINK MAX-NAME-LEN NAME | Library descriptor Password as per PASSWORD command Link name Maximum length of library name Library name |
ED | TYP NAME VERSION | Member descriptor Member type Member name Member version |
Return parameters
Parameter | Field | Meaning |
CB | RETURNCODE LMS-MSG DMS-MSG PLAM-MSG | Function control block Return code LMS message code DMS message code PLAM message code |
LD | NAME | Library descriptor Full DMS file name of library (dependent on LD-RETURN field of CB) |
ED | VERSION | Member descriptor Member version (if call used *HIGH) |