Spooler Utilities Reference Manual

Peruse
Spooler Utilities Reference Manual522295-003
3-38
LOC Command
LOC Command
The LOC command alters the location of the current job. If there is no current job, then
the job most recently spooled becomes the current job.
#location-name
is the name of the new location for the current job. If #location-name is not
specified, then the current job is given #DEFAULT (your default printer) as its new
location.
Considerations
The LOC command is not supported for a single job that is part of a batch job. If a
batch job is current, the LOC command operates on all jobs that are part of the
current batch job.
The LOC command is not supported if the current job is a spooler job file.
Example
In this example, you have specified #HOLD as list-file in order to examine the job
before printing:
Once you finish inspection, use the LOC command to redirect the output to the
specified printer for a hard copy:
LOC [ #location-name ]
_JOB
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 777 READY 22 1 4 #HOLD ACCOUNT ED
_
_LOC #LP3;J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 777 READY 22 1 4 #LP3 ACCOUNT ED
_