TOC continues either the TOCPRIM or the TOCSEC function, depending on the TOC identification previously defined in a TOCPRIM or TOCSEC function. The same TOC identification can be used any number of times. The last assignment always applies for a TOC identification.
The member information is written to the fields of EI as long as member entries satisfying the criteria specified with EM in the TOCPRIM or TOCSEC function are available. The output format depends on the member information selected by the subcode in TOCPRIM or TOCSEC (see the descriptions of the TOCPRIM and TOCSEC functions).
If no further member fulfills the defined criteria, the code EOF is entered in the RETURNCODE field of CB. The fields of EI remain unchanged.
Call parameters
The parameter structures must be given in the following sequence in the subroutine call.
Parameter | Field | Meaning |
CB | SCBVERSION FUNCTION SUBCODE ACC | Function control block Interface version Function code X’05’ Subcode currently not supported: UNUSE Subroutine access identification |
TID | - | TOC identification Does not have to be supplied |
EI | - | Member information Does not have to be supplied |
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 |
EI | TYP ... | Member information EI fields (see "EI (Element Information)") filled as appropriate to subcode in TOCPRIM or TOCSEC |