gtps1m3pSystem Macros

MAXBC-Get Maximum Number of Storage Blocks

Use this system macro to return the total number of certain storage blocks allocated by the TPF system. The size of the physical data table and the equate for the block are used to determine the size. The allocations of traditional TPF blocks (L0 or 128, L1 or 381, L2 or 1055, L4 or 4 K) can not be queried because these block are not implemented as independent block types. The block types supported are LIOCB, LECB (L3), LSWB, LCOMMON, and LFRAME.

Required Authorizations
Key0 Restricted System Common Storage

X

Format




TYPE=Rn
The register that contains the physical storage block type equate. R0 is not valid for all calls and R8 through R13 are not valid for all E-type calls.

Valid types, as defined in CLHEQ, are:

LIOCB
I/O control block

LECB
Entry control block (ECB)

LSWB
System work block (SWB)

LCOMMON
Shared working storage block

LFRAME
ECB unique working storage block

The MAXBC macro does not support logical blocks carved from other blocks. The block type values for MAXBC that are not valid follow here.

L0
128 Byte Block

L1
381 Byte Block

L2
1055 Byte Block

L4
4 K Block

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.