Checking the Status of Print Jobs (LISTPEQS)

Use LISTPEQS when you want information about print jobs. For each print job or hold file the report includes the following information:

The second and fourth columns of the LISTPEQS report both indicate the status of each Spooler entry. The letter codes in the STATUS column give a detailed breakdown of the number codes in the STATUS column.

The codes in the STATUS column indicate the following:

Destination

H

File is a hold file.

I

Print file is to be printed immediately.

P

Print file is to be sent to the printer.

T

Print file is to be sent to the tape drive.

Open, Spooled, or Currently Being Printed

N

Print file was generated under an SP-OPEN condition. Open files are not available to the SP-EDIT command.

S

Print file was spooled to a form queue by the SP-EDIT command. Such spooled files are no longer available to the SP-EDIT command.

O

Print file is currently being printed. Files currently being printed are not available to the SP-EDIT command.

L

Print file is locked. Files are locked when they are available, open, spooled, being printed, or being edited. Locked files are not available to the SP-EDIT command.

M

Suppresses print job entry number.

Closed or Edited

C

Print file is closed. If C does not appear, the print file is either currently being printed or in an SP-OPEN condition.

R

Print file has been edited and sent to the printer.

G

STARTPTR command is used, a special print file is generated that is used only for aligning the printer.

Cancelled

X

Print file was cancelled by the SP-KILL command.

A

Printer control block is available for reuse. No new control blocks are created for print files until the existing ones have been reused. All other status codes for these obsolete print files are enclosed in parentheses. Files in available control blocks are not accessible by the SP-EDIT command.

The LISTPEQS command produces a report that looks like the one shown in the following figure. All jobs except for element 6 are hold files. These hold files will remain on the Spooler even after the jobs have been printed. Elements 3, 5, and 7 are not currently scheduled for printing. Elements 6 and 11 are both open print jobs and are locked files, which means they are not accessible by the SP-EDIT command. Once these files are closed, however, SP-EDIT can be used on these files. Elements 4, 8, 9, and 12 have been edited with SP-EDIT. Of these four elements, only 4 and 8 have been spooled to the printer; elements 9 and 12 have been cancelled by the SP-KILL command.

The numeric codes in the STAT column (column 2) are fully interpreted by the letter codes in the STATUS column (column 5).

See Also

Using Printer and Spooler Status Reports

Checking the Status of the Spooler (SP-STATUS)

Checking the Status of Printers (LISTPTR)

Checking the Status of SP-ASSIGNments (LISTABS)