Op Code (Hex) | Operand 1 | Operand 2 | ||
---|---|---|---|---|
0022 | Receiver | Source pointer |
Operand 2: Data pointer, system pointer, or space pointer.
Bound program access |
---|
The source pointer operand corresponds to operand 2 on the SETSPPFP operation. The return value corresponds to operand 1 after the function completes. |
Description: A space pointer is returned in operand 1 with the addressability to a space from the pointer specified by operand 2.
The meaning of the pointers allowed for operand 2 is as follows:
Pointer | Meaning |
---|---|
Data pointer or
space pointer
|
The space pointer returned
in operand 1 is set to address
the same byte
addressed by the operand 2 source pointer.
|
System pointer
|
The space pointer returned in operand 1 is
set to address the first byte of the space
associated with
the system object addressed by the system pointer for operand 2.
If
the operand 2 system pointer addresses a
system object with no associated space, the invalid space reference (hex 0605) exception
is signaled.
|
The object destroyed (hex 2202) exception, parameter reference violation (hex 0801) exception, and pointer does not exist (hex 2401) exception are not signaled when operand 1 and operand 2 are space pointer machine objects. This occurs when operand 2 contains an internal machine value that indicates one of these error conditions exists. If the corresponding exception is not signaled, operand 1 is set with an internal machine value that preserves the exception condition that existed for operand 2. The appropriate exception condition will be signaled for either pointer when a subsequent attempt is made to reference the space data that the pointer addresses.
06 Addressing
08 Argument/Parameter
0A Authorization
10 Damage Encountered
1A Lock State
1C Machine-Dependent
20 Machine Support
22 Object Access
24 Pointer Specification
2E Resource Control Limit
36 Space Management
44 Protection Violation