BPELAGET

Routing code

Get a latch.
Return Code
Explanation
X'00000004'
The latch was not obtained because it was owned in exclusive mode by another caller (WAIT=NO only).
X'00000008'
The latch was not obtained because it was owned in shared mode by one or more callers (WAIT=NO only).
X'0000000C'
A request for a latch in shared mode was not granted because there was a waiter for the latch in exclusive mode (WAIT=NO only).
X'00000010'
The latch was successfully obtained in exclusive mode, and was transferred from another thread to the current thread.
X'00000020'
The latch was not obtained because the caller already owns the latch in exclusive mode.
X'00000024'
The latch was not obtained because the latch services module was unable to WAIT the caller. This is usually due to an error in the caller's environment: either the caller is not in TCB mode, or the caller's ECB is already in a WAIT state.
X'00000028'
A request was not granted for a latch in shared mode because the latch had been transferred to the caller's ECB by another thread; for this reason the request must be in exclusive mode.
X'000000F8'
The requested function is not present in the BPE system at execution time. This is likely due to a macro or module mismatch.
X'000000FC'
The parameter list version generated by the macro is not supported by the called service routine. This is likely due to a macro or module mismatch.