Using peruse with tal, Compiling your job, Monitoring the job status – HP NonStop G-Series User Manual
Page 257
![background image](/manuals/396922/257/background.png)
Managing Your Spooler Jobs Using Peruse
Guardian User’s Guide — 425266-001
13- 9
Using Peruse With TAL
Using Peruse With TAL
The following example shows several features of Peruse that are useful for
programmers. This example uses TAL, but also applies to other high-level languages,
such as COBOL85 or Pascal.
Compiling Your Job
Run your compilation; include the NOWAIT option so that the compilation runs
concurrently with your Peruse session:
Start Peruse and display your job. Peruse displays the status of your job as OPEN
because the TAL compiler is still running:
Monitoring the Job Status
Use the STATUS command to monitor your job while it is open. The STATUS
command displays a constantly updated list of your jobs and notifies you with a beep
when the compilation is finished. To redisplay the Peruse prompt at this point, press
Break:
1> TAL /IN SRCFILE, OUT $S.#HOLD, NOWAIT/ OBJFILE
2> 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
135 OPEN 1 4 #HOLD TAL USER
_STATUS
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 135 OPEN 1 4 B #HOLD TAL USER
(BEEP)
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
JC135 READY 130 1 4 #HOLD TAL USER
(BREAK key)