Task 3: Use The Created Define - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Creating and Using DEFINEs
1. Enter an ADD DEFINE command to create a SPOOL DEFINE named =FUP-
COPY-DEFINE and to set its attributes:
12> ADD DEFINE =FUP-COPY-DEFINE, CLASS SPOOL, &
12> &COPIES 2, FORM EMPLST, LOC $S.#LASER, &
12> &HOLDAFTER ON, SELPRI 7, REPORT "Employee Names"
This SPOOL DEFINE specifies that two copies of the job are to be printed on the
laser printer associated with location $S.#LASER. The hold-after-printing flag is set
so the job will remain in the print queue in case additional copies are required.
The priority is set to 7 (highest), and the report name is "Employee Names". This
DEFINE also sets the FORM attribute to ensure that the job prints on special paper.
2. Enter an INFO DEFINE command for =FUP-COPY-DEFINE with the DETAIL
option. Review the displayed attributes and their values.
13> INFO DEFINE =FUP-COPY-DEFINE, DETAIL
Define Name
CLASS
LOC
COPIES
FORM
HOLDAFTER
SELPRI
REPORT

Task 3: Use the Created DEFINE

Once a DEFINE is created, use it by refering to it in an appropriate TACL command.
1. Enter a FUP COPY command with the destination file set to the SPOOL DEFINE
you just created:
14> FUP / OUT FUPMSGS, NOWAIT / &
14> &COPY $DISK2.EMPLOYEE.ALLNAMES, =FUP-COPY-DEFINE
This command also sends any FUP messages to the OUT file FUPMSGS and
includes the NOWAIT option so FUP runs in the background.
2. Use Peruse to see the spooler job attributes for the spooler job created by FUP. This
job has the attributes specified in your SPOOL DEFINE.
15> PERUSE
PERUSE - T9101D10 - (08JUN92)
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
JOB
BATCH STATE PAGES COPIES PRI HOLD LOCATION
380
_
After two copies are printed, the job remains on the print queue. You can print
additional copies, if needed, or you can delete the job from the queue with the
Peruse DEL command.
=FUP-COPY-DEFINE
SPOOL
$S.#LASER
2
EMPLST
ON
7
EMPLOYEE NAMES
READY 456
2
Guardian User's Guide —425266-001
SYSTEM
\WEST
7
A
#LAZER
6- 10
Task 3: Use the Created DEFINE
REPORT
EMPLOYEE NAMES

Advertisement

Table of Contents
loading

Table of Contents