SPOOL-QUEUE

File 11
Statement FIND
Task Read spool queue. This view retrieves spool queue information such as jobname, job number, class, queue, number of spool records, etc.

Relevant Error Codes

Code Text
699 Not enough main storage available.
728 You are not allowed to see this job.
799 Entire Systems Management Adapter internal error.
988 Invalid task type detected.

Field Descriptions

Dictionary Field Name Format/

Length/

Desc/

Mu

Description

ACCOUNT-NUMBER (A8) Account number of user who submitted the job.
  D  
COPIES (N3) Number of copies of job.
  D  
CPU-MAX (N7.2) CPU time limit for the job.
CPU-USED (N7.2) CPU time already used by the job.
DEVICE (A8) Name of output device, if available.
  D  
HOLD (A3) YES indicates job is in hold.
  D  
JOB-ID (A8) Job number or TSN of job in alphanumeric format.
  D  
JOB-NAME (A8) Name of the job.
  D  
JOB-NUMBER (N7) TSN of job.
  D  
ORIGINATOR-JOB-ID (A8) For print jobs: alphanumeric TSN of task where print job was started.
  D  
ORIGINATOR-TSN (N5) For print jobs: TSN of task which started the job.
  D  
PRIORITY (N3) Priority of job.
  D  
SIZE (A6) Size for print jobs in PAM pages.
STATUS (A9) Task category. Possible values:
  D BATCH Batch
    DIALOG Dialogue
    DO Dormant
    TP Teleprocessing
    WT Wait
    For explanations and information on further parameters, see BS2000 documentation.
TYPE-NUMBER (N1) Numeric job type identifier used in BS2000 (for example, 2 = batch, 3 = dialog).
USER (A8) User ID of the job.
  D