Use this system macro to obtain the logical block type and logical size of
a storage block in a format suitable for storing in a core block reference
word (CBRW).
Format
- TYPE=R1|Rn
- This register contains the logical storage block type equate value.
R0 can not be assigned. The default is R1. R0 is not valid for
all calls and R8 through R13 are not valid for E-type calls.
On return the block type and logical size are in this register.
Supported types are:
- L0
- 128-byte block
- L1
- 381-byte block
- L2
- 1055-byte block
- L4
- 4095-byte block.
Entry Requirements
The specified register must contain a valid block type.
Return Conditions
- Control is returned to the next sequential instruction (NSI).
- The register specified in the TYPE parameter contains the logical block
type and the logical size of the storage block in a format suitable for
storing in a CBRW.
Programming Considerations
- This macro may be processed on any I-stream.
- The program invoking this macro is not required to be in a privileged mode
of operation. It is not required to change the protect key, since the
instructions used in the inquiry do not modify storage outside the
routine's protect key.
- A system error dump can occur when servicing a TYPBC request.
See Messages (System Error and Offline) for more
information.
Examples
None.