The values for an operand of SHOWCAT can be expressed as:
- An absolute numeric expression.
- A code or a list of codes separated by commas and enclosed in
parentheses.
- A register (in parentheses) from 2 through 12 that contains an
address or numeric value. In the execute form of a macro, you can
use register 1 for the address of the parameter list. Equated labels
can be used to designate a register; for example, BFRNO=(BFR#), where
the equate statement, BFR# EQU 3, is included in the program.
- An expression valid for a relocatable A-type address constant;
for example, AREA=RETURN+4.
The expressions that can be used depend on the operand. Only absolute
numeric expressions, codes, registers, and relocatable A-type address
constants are valid for the list form of a macro.
Table 1 shows the expressions allowed
for each operand
of SHOWCAT:
Table 1. Operand Expressions
for the SHOWCAT Macro
Operands
|
Absolute
Numeric
|
Code
|
Register
|
A-Type
Address
|
SHOWCAT (STANDARD) ACB
AREA
CI
NAME
|
|
|
X
X
X
X
|
X
X
X
X
|
SHOWCAT (LIST) ACB
AREA
CI
MF
NAME
|
|
X
|
|
X
X
X
X
|
SHOWCAT (EXECUTE) ACB
AREA
CI
MF
B
E
address
NAME
|
|
X
X
|
X
X
X
X
X
|
|