Using defines in fup commands, Using a spool define – HP NonStop G-Series User Manual
Page 105
Using FUP for Basic File Management
Guardian User’s Guide — 425266-001
7 -5
Using DEFINEs in FUP Commands
Using DEFINEs in FUP Commands
You can use a SPOOL DEFINE or a TAPE DEFINE in some FUP commands. Use a
SPOOL DEFINE to send command output to the spooler. Use a TAPE DEFINE to send
command output to a tape file or receive a tape file as input. See
, for information about creating and using DEFINEs.
Using a SPOOL DEFINE
You can specify a SPOOL DEFINE in these situations:
•
As a list file with the OUT option in your command to run FUP:
•
As a list file with the OUT option in the FILES, HELP, INFO, LISTOPENS,
SHOW, and SUBVOLS commands:
•
As the destination file in a COPY or BUILDKEYRECORDS command:
When you use a SPOOL DEFINE with a FUP command, output from the command is
spooled to the spooler location that is specified with the LOC attribute in the DEFINE.
If this location is a printer, the FUP command output is queued and then printed.
Otherwise, the output remains in the spooler, where you can view, redirect, or delete it
with Peruse.
This example shows the creation of a SPOOL DEFINE named =MYSPOOLER:
If you direct FUP command output to =MYSPOOLER, the output is spooled at the
destination $X5.#LASER, and the spooler job has priority 6.
10> FUP / IN $MTERM, OUT =MYSPOOLER /
11> FUP INFO / OUT =DIRECTORY / *
12> FUP COPY $DATA.RECV.BASE, =MYPRINTER
1> SET DEFINE CLASS SPOOL, LOC $X5.#LASER, SELPRI 6
2> ADD DEFINE =MYSPOOLER
3> INFO DEFINE =MYSPOOLER, DETAIL
Define name =MYSPOOLER
CLASS SPOOL
LOC $X5.#LASER
SELPRI 6