gtpg2m3uGeneral Macros

SIZBC-Obtain Logical Size

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

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)