Pathway/iTS System Management Manual (G06.24+)
TERM Commands
HP NonStop Pathway/iTS System Management Manual—426748-002
10-22
SET TERM Command
file-name
specifies the file name for the print device. You usually use file-name when
the printer is not attached or when multiple attached printers are connected to
a line controller. This attribute overrides the current value configured for the
PRINTER attribute.
If you do not specify a node name, the default node for file-name expansion
can be affected by several factors, including values you specify for the
NonStop TS/MP CMDVOL command and the NODEINDEPENDENT attribute
of the TS/MP SET PATHWAY command. For details, see Specifying Node
Independence on page 2-5.
The specified file name is expanded and then placed in the SCREEN COBOL
special register TERMINAL-PRINTER when the program starts running on a
terminal. While a screen program runs, it can modify the file name in its
TERMINAL-PRINTER register and then use the new file name.
If you omit file-name, the SCREEN COBOL TERMINAL-PRINTER special
register is set to SPACES (that is, ASCII blanks).
If a printer is not attached, the SCREEN COBOL verb PRINT-SCREEN obtains
the printer’s file name from the special register TERMINAL-PRINTER.
IS-ATTACHED
directs the copy of the screen image to a printer that is either physically
attached to the terminal or on the same line controller as the terminal on which
the program runs. IS-ATTACHED is one of the following:
If you specify PRINTER IS-ATTACHED for a 6520, 6530, or 6540 terminal, the
SCREEN COBOL special register TERMINAL-PRINTER is ignored.
TCLPROG file-name
specifies the name of the SCREEN COBOL object library file that contains the
screen programs for this TERM object. The TCP checks this file name for the
requested program unit before checking the SET TCP TCLPROG file name. If you
omit this option, the TCP uses the file defined for the SET TCP TCLPROG
attribute.
If you do not specify a node name, the default node for file-name expansion can be
affected by several factors, including values you specify for the TS/MP CMDVOL
command and the NODEINDEPENDENT attribute of the NonStop TS/MP SET
PATHWAY command. For details, see Specifying Node Independence on page 2-5.
T16-6530 Directs copy to a printer attached directly to the terminal.
T16-6520 Directs copy to a printer attached directly to the terminal.
IBM-3270 Directs copy to the device that is attached to the same control
unit as the terminal.