track 7 indicates a 7-track tape (implies density=800 and trtch=O) 9 indicates a 9-track tape (implies density=800). density 200, 556, or 800 for a 7-track tape 800, 1600, or 6250 for a 9-track tape.
trtch indica tes the
7-track tape.
tape recording technique One of the following must
a -odd parity, converter off, translator off.
oe -odd parity, converter on, translator off.
aT -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 nee1 not specify the MODE option when you are writing to a 9-track
tape to use the default density, nor when you are writing to a
7-track tape with a density of 800 bpi, odd parity, with data converter
and translator off.
If an error occurs, reqister 15 contains one of the following error
codes: 1 Invalid function or parameter
2 End of file or end of tape
3 permanent 1/0 error
4 Invalid device identification
5 Tape not attached
6 Tape is file-protected
WRTERM Use the WRTERM macro instruction to display a line at the terminal. The
format the WRTEFM macro instruction is: .-- I [label1 I WRTERM I line [,1 ength] [, EDIT=code ] [, eOLOR=color] L-- label is an optional statement label.
Section 6. eMS Macro Instructions 341
WR'TERM. line
specifies the line to be displayed.
It may be one of three , linetext'
the actual text line enclosed in quotation marks.
the label on the statement containing the line.
a register containing the address of the line.
specifies the length of the line. If the line is specified
within quotation marks in the macro instruction, the length
operand may be omitted. The length may be specified in either
of two ways:
a self-defining term indicating the length.
a register containing the length.
EDIT=code specifies whether the line is to be edited: indicates that trailing blanks are to be removed and a
carriage return added to the end of the line. YES is the
default value.
NO indicates that trailing blanks are not to be removed and
no carriage return is to be added.
LONG indicates the line may exceed 130 bytes.
No editing is
indicates the color in which the line is to be typed, if the
typewriter terminal has a two-color ribbon: indicates that the line is to be typed in black. This is
the defa ul t.
R indicates that the line is to be typed in red.
1. The maximum line length is 130 chara=ters for a black line and 126
characters for a red line.
2. If EDIT=LONG, COLOB must be specified as "B". In this case, you may
write as many as 1760 bytes with a single macro instruction. You are responsible for embedding the proper terminal control
characters in the data. (This operand is for use primarily with VS APL programs.)
3. You may want to use the WAITT macro instruction to ensure that
terminal 1/0 is complete before continuing program execution. CMS Command and Macro Reference
Previous Page Next Page