TAPECTL Macro TAPn
cuu
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
9
density
trtch
indica tes a 7-track tape (impliesdensity=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 forOne 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.
ERROR=erraddr
specifies the address of an error routine to be given control
if an error is found. IfERROR= 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
tapeana 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
2
34 5
6q !1ggning Invalid function or parameter list.
End of file or end of tape
Permanent1/0 error
Invalid device id is not attached
Tape is file-protected
Incorrect length
338IBM VM/370 eMS Command and Macro Reference
cuu
indicates the symbolic tape number (TAP1 through
TAP4)
technique options. It must be in the following form:
([ track ],( density ],[trtch])
track 7
9
density
trtch
indica tes a 7-track tape (implies
indica tes the
7-track tape.
specified:
tape recording technique for
o -odd parity, converter off, translator off.
E -even parity, converter off, translator off.
ET -even parity, converter off, translator on.
ERROR=erraddr
specifies the address of an error routine to be given control
if an error is found. If
occurs, control returns to the next sequential instruction in
the calling program, as it does if no error occurs.
tape
with data converter and translator off.
If an error occurs, register 15 contains one of the following error
codes:
2
3
6
End of file or end of tape
Permanent
Invalid device id
Tape is file-protected
Incorrect length
338