Use this system macro to unlock a control block area previously locked by
the ILCKCB macro.
See ILCKCB-Lock a Control Block Area Macro for more information about the ILCKCB macro.
Format
- label
- A symbolic name can be assigned to the macro statement.
- TYPE
- The name of the control block area to be unlocked.
- CCB
- The TPF/APPC conversation control block (CCB) is to be unlocked.
- SCB
- The TPF/APPC session control block (SCB) is to be unlocked.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- The calling segment must have write access (using CINFC W) to the control
block to be unlocked.
Return Conditions
- Control is returned to the next sequential instruction (NSI) after control
block is unlocked.
- After the control block is unlocked, the lock fields in the control block
contain zeros.
- The contents the R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
Programming Considerations
- This macro can be run on any I-stream.
- Control must not be given up between the ILCKCB and IULKCB macros.
- If the lock is not held by this ECB, the TPF system issues a dump.
- If the lock is not held by any ECB, the TPF system issues a dump.
- This macro is restricted to real-time programs, or CP programs with a
valid ECB in R9.
Examples
MYLABEL IULKCB TYPE=CCB