COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

The current job is undefined when you first start the spooler and after a DELETE command executes.
To define the current job, use the JOB command.
EffectExample
Establishes job 1171 as the current jobJOB 1171
Establishes the job most recently added to the spooler (and owned by the current user) as
the current job
JOB *
Establishes the job most recently sent to location #MURPHY (and owned by the current
user) as the current job
JOB #MURPHY
If the first command you give to PERUSE is not a JOB command, any command except DELETE
establishes the job most recently added to the spooler (and owned by the current user) as the
current job.
Current Position
At any given time during your PERUSE session, the spooler has a current position within its current
job, just as a file in an HP COBOL program has a current record position. If you press Return at
the PERUSE prompt, PERUSE lists the next line of the job and advances its current position.
Common PERUSE Operations
After you have established a current job, you can perform the operations such as those listed in
Table 126 (all operations apply to the current job unless otherwise specified). Table 126 is not a
complete list of PERUSE commands; for more information, see the Guardian User’s Guide.
Table 126 PERUSE Operations and Commands (Partial List)
CommandOperation
COPIESSet number of copies
FORMSet form name
LOCSet location
REPORTSet report name
PRISet priority
Put the job into the HOLD state HOLD or
HOLD ON
HOLD OFFRemove the job from HOLD state
Set the HOLDAFTER attribute HOLDAFTER or
HOLDAFTER ON
HOLDAFTER OFFClear the HOLDAFTER attribute
LISTList some or all of the current job at your screen or on a device or to another
job
LIST LList last page of the job (this is often a summary, showing any errors)
PAGESet the current position as the first line of a chosen page in the job
PAGEDisplay the page number and line number of the current position
FINDFind the next instance of a certain character-string in the job
DELETEDelete the job
OWNERGive the job to a new owner
HELPGet information about PERUSE commands
Using a Spooler 907