BDTERM, REGEQU Macros PHYS indicates that a physical line is to be read. When PHYS is specified, the LENGTH and ATTREST=NO operands may also be entered. This option causes
the input line to be translated using the user
translation table.
the length of the buffer. If not specified, 130 is
The maximum length is 2030 bytes. The length may be
only if EDIT=PHYS (see Usage Note 2). It may be
in either of two forms:
a self-defining term indicating the length of the
a register containing the length of the buffer. ATTREST=YESI NO specifies whether an attention interruption during a read
should result in a restart of the read operation. (See Usage Note 2.)
1. When the macro completes, register 0 contains the number of
characters read.
2. You can use the ATTREST=NO and LENGTH operands only when you are
reading physical lines (EDIT=PHYS). When ATTREST=NO, an attention
interruption during a read operation signals the end of the line
and does not result in a restart of the read. These operands are
used primarily in writing VS APL programs.
When an error occurs, register 15 contains one of the following
error codes: Invalid parameter
Read was terminated by an attention signal (possible only when ATTREST=NO) REGEQU Use the REGEQU macro instruction to generate a list of EQU (equate)
statements to assign symbolic names for the general, floating-point, and
extended control registers. The format of the REGEQU macro instruction
r , REGEQU L. --I 336 IBM VM/370 eMS Command and Macro Reference
REGEQU, TAPECTL Macros REGEQU macro instruction causes the following equate statements to
be generated: RO Rl
R7 Rq Rl0 R
R13 R15 EQU 0 EQU 1 EQU 2 EQU 3 EQU 4 EQU 5 EQU 6 EQU 7 EQU 8 EQU 9 EQU 10 EQU 11 EQU 12 EQU 13 EQU 14 EQU 15 o FO EQU F2 EQU 2
F4 EQU 4 F6 EQU 6
Extended ---ca- Cl C2
C9 C10 C 11
C15 EQU 0 EQU 1 EQU 2 EQU 3 EQU 4 EQU 5 EQU 6 EQU 7 EQU 8 EQU 9 EQU 10 EQU 11 EQU 12 EQU 13 EQU 14 EQU 15
TAPECTL Use the TAPECTL macro instruction to position the specified tape
according to the specified function code. The of the TAPECTL macro instruction is:
r---- I (label] L- label TAPECTL , function [,device](,MJDE=mode][ ,ERRJR=erraddr]
is an optional statement label.
function specifies the control function to be performed. It must be
one of the following codes:
device Function REW RewInd-the tape RUN Rewind and unload the tape ERG Erase a gap BSR Backspace one record BSF Backspace one file FSR Forward-space one record. FSF Forward-space one file WTM write a tape mark
specifies the tape on which the control operation is to be
performed. If omitted, TAPl (virtual address 181) is assumed.
It may be:
section 6. CMS Macro Instructions 337
Previous Page Next Page