MODLA determines the attributes for a library. LD specifies the library and LA defines its attributes. A library administration privilege and presettings for member protection for new members can be allocated. The storage mode allowed for members of the library can be defined, access date recording can be activated, and a borrowing mechanism can be applied.
PA defines presettings for member protection and the group of users with borrowing privileges for the library.
Call parameters
The parameter structures must be given in the following sequence in the subroutine call.
Parameter | Field | Meaning |
CB | SCBVERSION FUNCTION SUBCODE ACC LD-RETURN | Function control block Interface version Function code X’16’ Subcode currently not used: UNUSE Subroutine access identification Full DMS file name in LD |
LD | PASSWORD LINK MAX-NAME-LEN NAME | Library descriptor Password as per PASSWORD command Link name Maximum length of library name Library name |
LA | P-TIND-ADMI P-ADMI-OWN P-ADMI-GRP P-ADMI-OTH P-ADMI-PIND P-ADMI-PSWD STORE-FORM WRITE-CTRL ACCESS-DATE | Library attributes Protection type indicator for administration Administration indicator for owner Administration indicator for group Administration indicator for others Administration password indicator Administration password Storage mode for library Write control for library Record date of last access for members |
PA | P-TIND-READ ... | Protection attributes All PA fields ("PA (Protection Attributes)") can be preset. |
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 |
LD | NAME | Library descriptor Full DMS file name of library (dependent on LD-RETURN field of CB) |