LIBRM LIBDROP (Drop Sublibrary Chain) Macro
This macro causes the sublibrary chain that is referenced by CHAINID to be dropped.
See also Library Macro Notation for details on register notation and possible operand specifications.
Format
Requirements for the caller
- AMODE:
- 24 or 31
- RMODE:
- ANY
- ASC Mode:
- Primary
Parameters
- LDCB=areaname
- Specifies the address of the LDCB (Librarian Data Control Block) for the request.
- CHAINID=chainid
- Specifies the address of an area where the sublibrary chain identifier (1 to 8 alphanumeric characters) is stored.
- EROPT=RET | CANCEL
- Defines an error handling option, which is taken if the function
cannot be performed (return code > 12).
- RET
- Processing is continued, either by a normal return or by branching to the ERRAD exit.
- CANCEL
- Processing is canceled. A librarian error message is issued to SYSLOG.
- ERRAD=label
- Specifies a label to which the Librarian branches, if the above function cannot be performed because of an error (return code > 12).
Return Codes
Return Reason Meaning
Code Code
0 0 Chain dropped.
4 0 Chain does not exist.
16 xx External system error with feedback code and message.
20 xx Internal system error with feedback code and message.
The external system error feedback codes are described in Librarian Feedback Codes. All other (internal) feedback codes are described in http://publibfp.dhe.ibm.com/epubs/pdf/ieslde10.pdf.