LIBRDCB (Librarian Data Control Block) Macro
This macro causes the Librarian Data Control Block (LDCB) for the Library Access Service to be either generated, modified, or mapped.
If it is generated, the addressed area is cleared and all specified operand values are inserted. Operand specifications, which are given with the function macro LIBRM overwrites these initial specifications (always the latest specification of an operand is valid).
All
other operands are described together with the macros to which they
apply.
Note:
- The LDCB must be generated (with FUNC=GEN) to be used as control block before any LIBRM request can be given.
- The DSECT of the LDCB is created automatically, if necessary, for FUNC=GEN|MOD or any LIBRM request.
- The registers that are used in expanded code are 0 and 1.
Format
Requirements for the caller
- AMODE:
- 24 or 31
- RMODE:
- ANY
- ASC Mode:
- Primary
Parameters
- FUNC
- Indicates the main function of the macro LIBRDCB.
- MAP
- Provides a mapping DSECT of the LDCB. No other operands are allowed.
- GEN
- Generates the LDCB at the given address.
- MOD
- Modifies the LDCB at the given address.
- AREA=areaname
- Specifies the name of the area where the LDCB is to be generated or modified.