This general macro obtains the logical size of a storage block.
Format
- label
- A symbolic name can be assigned to the macro statement.
- TYPE=Rn|R1
- The register specified in this parameter contains the logical storage
block type equate value needed to obtain the logical size of the storage block
requested. The logical size of the storage block is returned in the
register specified.
This is an optional keyword. If the parameter is omitted, the
default assignment is R1. R0 is not used for any calls and
R8-R13 are invalid for E-type calls.
Entry Requirements
R9 must contain the address of the ECB being processed.
Return Conditions
- Control is returned to the next sequential instruction.
- The register specified in the TYPE statement will contain the logical size
of the storage block.
- The contents of R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
Programming Considerations
Examples
LA R5,L1 381 Byte Block type
SIZBC TYPE=R5 Find logical size of L1 type block
* R5 will now contain hex 17D (decimal 381)