pdq command: queries job status

Syntax

pdq [-H host:port] [-f "FilterCriteria"] [{-d | -p} DestinationName] [-F] [-g] [-j] 
[-r attribute …] [-s StyleName] [-U] 
[-x "attribute=value …"] [-X AttributesFileName] 
[LocalJobID[.DocNumber] … | GlobalJobID[.DocNumber] …]

pdq -h

Description

Use the pdq command to list the status of some or all jobs submitted to a logical destination or assigned to an actual destination.

With InfoPrint Manager for AIX or InfoPrint Manager for Linux, if you omit both the LocalJobID and the GlobalJobID and do not name a destination, InfoPrint lists all the jobs in the queue associated with the default logical destination, as defined by the PDPRINTER environment variable.

If you do not specify a value for the -r flag or the command attribute requested-attributes, the pdq command defaults to the value brief. By default, you can list the attribute values only for the jobs you submit.

InfoPrint lists the jobs in the order in which the queue considers them for printing.

You can use the filtering option so that InfoPrint returns status only for some jobs. The jobs have a predefined value for the filter that is equal to the job attribute user-name; InfoPrint sets this value to your login identity when you submit a job.

Flags

You can use these flags with the pdq command:

-H host:port

Identifies the host and port of the InfoPrint Manager server used for communication. When not specified, the command follows the Configuration logic to define the host and socket.

-d DestinationName
Queries all jobs in the queue associated with this destination, or all jobs assigned to this actual destination. The results depend on the destination realization and the value of the queue attribute assign-to-destination, as shown in the table.

Results of the pdq Command

Destination Realization assign-to-destination pdq Returns
Logical true or false All jobs in the queue associated with the logical destination
Actual true All jobs assigned to the actual destination
Actual false