NetBatch-Plus Reference Manual
Changing the NetBatch-Plus Pathway Configuration
NetBatch-Plus Reference Manual—522461-002
3-5
Specifying the Output File for the SF13–Print
Function
Specifying the Output File for the SF13–Print
Function
The SF13–Print function is common to all NetBatch-Plus screens. The function copies
the first 24 lines of a screen to an output file configured for the terminal. The file can be
a device or a process, but not a disk file.
Specifying the Default Output File
When you cold start the NetBatch-Plus Pathway system, the SET PROGRAM
PRINTER command in the PATHCONF file sets the default output file for screen
copies. Figure 3-5 shows the command in a sample PATHCONF file.
By editing PATHCONF, you can change the default output file for your system. The
change takes effect after you shut down and then cold start the Pathway system.
An alternative to changing the default output file in PATHCONF is to change it with the
PATHCOM command ALTER PROGRAM. For example:
$DATA7 NBPOBJ 26> PATHCOM $NBP; ALTER PR0000, PRINTER $S.#LP1
ALTER PROGRAM changes the file specified in the Pathway control file NBPCTL but
not in PATHCONF. The change takes effect as soon as the PATHCOM process
executes the command and remains effective until changed again by ALTER
PROGRAM or until the next cold start. HP recommends that you use ALTER
PROGRAM to change the default output file when frequent changes of file are
necessary.
Overriding the Default Output File
To override the default output file for a NetBatch-Plus session, do either of:
•
Run the NetBatch-Plus application with a PATHCOM command instead of invoking
the NRUN macro. You can include the PRINTER parameter in the command. For
example:
$DATA7 NBPOBJ 143> PATHCOM $NBP; RUN PR0000, PRINTER $S.#A
•
Add the PRINTER parameter to the RUN PROGRAM command in the NRUN
macro. Whenever you invoke the macro, the specified output file overrides the
Figure 3-5. SET PROGRAM PRINTER Command in PATHCONF
SET PROGRAM TYPE T16-6530 (INITIAL PR0000, DISPLAY-PAGES 10)
.
.
SET PROGRAM PRINTER \WORLD.$S.#PRT
.
.
ADD PROGRAM PR0000