RRES: Retrieve outstanding reserves
Use the RRES EXEC to retrieve information on outstanding device reserves.
The following statement shows the format of the call from the EXEC:
There are no RRES input parameters.
Following is a list of return codes from RRES:
Return code | Description |
---|---|
0 | Request completed successfully |
4 | No outstanding reserves |
8 | Security failure |
Following table lists the variables returned by RRES in the LOCAL POOL.
Variable name | Type | Description |
---|---|---|
RRESROL1 | Control | Number of output lines |
RRESSC(XXX) | Data | Scope of reserve: systems |
RRESGL(XXX) | Data | Global or local |
RRESM(XXX) | Data | Major name of reserve |
RRESN(XXX) | Data | Minor name of reserve |
RRESSY(XXX) | Data | SYSID |
RRESJ(XXX) | Data | Jobname |
RRESAS(XXX) | Data | ASID |
RRESC(XXX) | Data | Status: owns or wait |
RREST(XXX) | Data | Type: SHR OR EXC |
RRESRC(XXX) | Data | Reserve count |
RRESS(XXX) | Data | Pend: yes or no |
RRESU(XXX) | Data | Unit address |
RRESV(XXX) | Data | Volume serial |
RRESUR(XXX) | Data | Unit ready: no or null |
RRESTI(XXX) | Data | Time |
Related topic