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
indicates the symbolic tape number (TAP1 through
TAP4) indicates the virtual device address. MODE=mode specifies the number of tracks, density, and tape recording
technique options. It must be in the following form:
([ track ],( density ],[trtch])
track 7
indica tes a 7-track tape (implies density=800 and trtch=O) indicates a 9-track tape (implies density=800). 200, 556, or 800 for a 7-track tape. 800, 1600, or
indica tes the
7-track tape.
specified: 6250 for a 9-track tape.
tape recording technique for One of the following must be
o -odd parity, converter off, translator off. OC - odd parity, converter on, translator off. OT - odd parity, converter off, translator on.
E -even parity, converter off, translator off.
ET -even parity, converter off, translator on.
specifies the address of an error routine to be given control
if an error is found. If ERROR= is not coded and an error
occurs, control returns to the next sequential instruction in
the calling program, as it does if no error occurs. You need not specify the MODE option when you are manipulating a 9-track
tape ana you are using the default density for the tape drive, nor when you are writing a 7-track tape with a density of 800 bpi, odd parity,
with data converter and translator off.
If an error occurs, register 15 contains one of the following error
codes: 1
3 4 5
6 q !1ggning Invalid function or parameter list.
End of file or end of tape
Permanent 1/0 error
Invalid device id is not attached
Tape is file-protected
Incorrect length
338 IBM VM/370 eMS Command and Macro Reference
Previous Page Next Page