The parameter structures are the central facility for handling the entire data transfer from the main program to LMS and vice versa. The parameter structures must be defined in the main program. The following features are available for this purpose:
for COBOL, appropriate COPY members (see "Linkage module LMSUP1")
for C, an appropriate INCLUDE member (see "Linkage module LMSUP1")
for Assembler, appropriate macros (see "Linkage module LMSUP1").
The same COPY members, INCLUDE members or macros (format L) can be used to initialize the parameter structures, i.e. to define suitable presettings. The parameter structures of the subroutine interface are:
the control block CB
the descriptors ED, FD, LD, RD and TD
the TOC parameters EI, EM and TID
the record buffer ER
the library attributes LA, LI and PA
the type attributes TA and TI
the member attributes EA.
Fields of the parameter structures
Numeric fields: | 2 or 4 bytes |
Indicators: | 1 byte. Symbolic values exist for processing these fields. |
String fields: | All strings must be entered left-justified in the appropriate fields. The |