LIBRM DELETE (Delete Library Member) Macro
The DELETE (MEMBER) function is used to delete a library member.
The member can be specified fully qualified, or it can be searched in a sublibrary chain.
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.
- LIB=lib
- Specifies the address of an area where the library name (1 to 7 alphanumeric characters) is stored.
- SUBLIB=sublib
- Specifies the address of an area where the sublibrary name (1 to 8 alphanumeric characters) is stored.
- CHAINID=chainid
- Specifies the address of an area where the sublibrary chain identifier (1 to 8 alphanumeric characters) is stored.
- MEMBER=membername
- Specifies the address of an area where the member name (1 to 8 alphanumeric characters) is stored.
- TYPE=membertype
- Specifies the address of an area where the member type (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
- Specifies a label to which the Librarian branches, if the above function cannot be performed because of an error (return code > 12).