In the following description of 64-bit Latch_Purge, equate symbols defined in the ISGLMASM macro are followed by their numeric equivalents; you may specify either when coding calls to 64-bit Latch_Purge.
The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Supervisor state or PSW allowing key 0-7 |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | Any PASN, any HASN, any SASN |
AMODE: | 64-bit |
ASC mode: | Primary |
Interrupt status: | Enabled for I/O and external interrupts |
Locks: | No locks held |
Control parameters: | Control parameters must be accessible from the primary address space. |
*
* Latch Purge Return Codes
*
ISGLPRG_SUCCESS EQU 0
ISGLPRG_DAMAGE_DETECTED EQU 4
*
None.
Write the CALL as shown on the syntax diagram. You must code all parameters on the CALL statement in the order shown.
Syntax | Description |
---|---|
CALL ISGLPR64 |
|
All input to callable services is in the form of RX-type addresses.
The parameters are explained as follows:
The caller might encounter abend code X'9C6' for certain errors. See z/OS MVS System Codes for explanations and responses.
When the 64-bit Latch_Purge service returns control to your program, return_code contains a hexadecimal return code. The following table identifies return codes in hexadecimal and decimal (in parentheses), the equate symbol associated with each return code, the meaning of each return code, and a recommended action:
Return code and Equate Symbol | Meaning and Action |
---|---|
00 |
Meaning: The Latch_Purge service
completed successfully. Action: None. |
04 |
Meaning: Program error.
While purging all requests for a particular requestor from a latch
set, the latch manager found incorrect data in one or more latches.
The latch manager tries to purge the latches that contain incorrect
data, but the damage might prevent the latch manager from purging
those latches. The latch manager purges the remaining latches (those
with correct data) for the specified requestor. Action: Take a dump and check for a storage overlay. If your application can continue without the resources serialized by the damaged latches, no action is required. |
See LATCHX64 - How to call AMODE 64 latch services for an example of how to call 64-bit Latch_Purge in assembler language.