Pathway/XM System Management Manual
PXMCOM Commands
Compaq NonStop™ Pathway/XM System Management Manual—426761-001
11-52
RUN PROGRAM
PRINTER
specifies the printer to be used for the SCREEN COBOL PRINT SCREEN verb.
An attached printer either physically plugs into the terminal (for example, a
T16-6520 or T16-6530 terminal) or connects to the same line controller (for
example, an IBM 3270 compatible terminal using AM3270) as the terminal on
which the SCREEN COBOL program runs.
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 parameter overrides the current value configured for the
PRINTER parameter.
The specified file name is 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 can be used with the following:
If you specify PRINTER IS-ATTACHED for a T16-6520, T16-6530, or
T16-6540 terminal, the SCREEN COBOL special register TERMINAL-
PRINTER is ignored.
FILE file-name
specifies the name of a terminal or a process emulating a terminal that is used as the
I/O device for this PROGRAM object. This parameter allows an application to write
a front-end process that emulates a standard terminal type and acts as a link between
the PATHMON environment and a nonstandard terminal or an intelligent device.
If you omit this parameter, the SCREEN COBOL program runs on the device where
the PXMCOM process is running. Control is returned to the PXMCOM process
only when the SCREEN COBOL program terminates.
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.