Using Defines In Fup Commands - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Using FUP for Basic File Management

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
Using
DEFINEs, 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:
10> FUP / IN $MTERM, OUT =MYSPOOLER /
As a list file with the OUT option in the FILES, HELP, INFO, LISTOPENS,
SHOW, and SUBVOLS commands:
11> FUP INFO / OUT =DIRECTORY / *
As the destination file in a COPY or BUILDKEYRECORDS command:
12> FUP COPY $DATA.RECV.BASE, =MYPRINTER
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:
1> SET DEFINE CLASS SPOOL, LOC $X5.#LASER, SELPRI 6
2> ADD DEFINE =MYSPOOLER
3> INFO DEFINE =MYSPOOLER, DETAIL
Define name
CLASS
LOC
SELPRI
If you direct FUP command output to =MYSPOOLER, the output is spooled at the
destination $X5.#LASER, and the spooler job has priority 6.
=MYSPOOLER
SPOOL
$X5.#LASER
6
Guardian User's Guide —425266-001
7 -5
Using DEFINEs in FUP Commands
Section 6, Creating and

Advertisement

Table of Contents
loading

Table of Contents