beautypg.com

Creating a spool define, Using a spool define – HP NonStop G-Series User Manual

Page 246

background image

Introduction to the Spooler

Guardian User’s Guide 425266-001

12 -12

Sending Output to a SPOOL DEFINE

Creating a SPOOL DEFINE

1. Enter an ADD DEFINE command to create a SPOOL DEFINE named =PAY-RUN

and to set the attributes:

2. Enter an INFO DEFINE command with the DETAIL parameter to display the

attributes and their values for =PAY-RUN.

Using a SPOOL DEFINE

1. Run the program that produces the spooler output.

In this example, the program PAYLIST prints a payroll listing from the January
payroll records. The OUT run option is set to the SPOOL DEFINE you just created.

The spooler job created by PAYLIST has the attributes specified in the SPOOL
DEFINE named =PAY-RUN.

2. To see these spooler job attributes, use Peruse:

11> ADD DEFINE =PAY-RUN, CLASS SPOOL, COPIES 3, &
11> &FORM PAYLST, LOC $S.#LLP, &
11> &OWNER PAYROLL.MANAGER, SELPRI 7,&
11> &REPORT "January Payroll"

12> INFO DEFINE =PAY-RUN, DETAIL
Define Name =PAY-RUN
CLASS SPOOL
LOC $S.#LLP
COPIES 3
FORM PAYLST
OWNER 8,255
SELPRI 7
REPORT JANUARY PAYROLL

13> RUN PAYLIST / IN PAYRCDS, OUT =PAY-RUN, NOWAIT /

14> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1991, 1992

JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
380 READY 63 3 7 #LLP JANUARY PAYROLL
_

This manual is related to the following products: