MODEP selects member protection for a specific member. ED determines the member and LD specifies the library containing this member. The complete type, name and version of the member must be specified.
Call parameters
The parameter structures must be given in the following sequence in the subroutine call.
Parameter | Field | Meaning |
CB | SCBVERSION SUBCODE FUNCTION ACC LD-RETURN | Function control block Interface version Subcode currently not used: UNUSE Function code X’15’ 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 |
ED | TYP NAME VERSION | Member descriptor Member type Member name Member version |
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) |
ED | VERSION | Member descriptor Member version (if call used *HIGH) |