Task 3: use the created define – HP NonStop G-Series User Manual
Page 98
![background image](/manuals/396922/98/background.png)
Creating and Using DEFINEs
Guardian User’s Guide — 425266-001
6- 10
Task 3: Use the Created DEFINE
1. Enter an ADD DEFINE command to create a SPOOL DEFINE named =FUP-
COPY-DEFINE and to set its attributes:
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.
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:
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.
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.
12> ADD DEFINE =FUP-COPY-DEFINE, CLASS SPOOL, &
12> &COPIES 2, FORM EMPLST, LOC $S.#LASER, &
12> &HOLDAFTER ON, SELPRI 7, REPORT "Employee Names"
13> INFO DEFINE =FUP-COPY-DEFINE, DETAIL
Define Name =FUP-COPY-DEFINE
CLASS SPOOL
LOC $S.#LASER
COPIES 2
FORM EMPLST
HOLDAFTER ON
SELPRI 7
REPORT EMPLOYEE NAMES
14> FUP / OUT FUPMSGS, NOWAIT / &
14> © $DISK2.EMPLOYEE.ALLNAMES, =FUP-COPY-DEFINE
15> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
380 READY 456 2 7 A #LAZER EMPLOYEE NAMES
_