UNLOCK releases a lockout which was set for a member with the aid of LOCK. ED specifies the member to be released and LD the library containing this member. The complete type, name and version of the member must be specified. The lockout can only be released within the subroutine access in which it was set.
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’0D’ Subcode currently not supported: 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 |
ED | TYP NAME VERSION | Member descriptor Member type Member name Member version |
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 |
ED | NAME | Member descriptor Member version (if call used *HIGH) |