HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pdq(1) pdq(1)
(TO BE OBSOLETED)
line. This options is equivalent to specifying the command attributes
attribute.
Command Attributes
You can specify these attributes in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the
-X AttributesFileName option.
attributes= AttributesFileName
Cause the designated attributes file to be read.
filter="FilterCriteria
"
Specify the filter selection criteria that you want used if you request attribute values for multiple jobs.
Only some of the candidate jobs are selected based on the filtering criteria. A filter is a logical expres-
sion consisting of relations of attributes to attribute values. Among the specified jobs, only those
whose attribute values match the filter expression are returned.
The filter command attribute functions the same way for the
pdq command as for the pdls com-
mand.
headings=Boolean
Specify whether or not you want headings displayed for the requested attributes. Boolean can be:
true (default) or false.
printer-name-requested=
PrinterName
Specify the logical printer for which you want a list of queued jobs.
If you do not define a printer name, the
PDPRINTER environment variable is used to determine the
printer.
requested-attributes=
AttributeType
Specify which output attributes you want displayed. The command-attribute value can be:
brief
(default), verbose, "attribute_list
" , all,ornone.
archive only displays attributes that can be set and specified.
style=StyleName
Specify the presentation format in which you want attributes displayed. StyleName can be column
(default) or line.
Object Attributes
There are no object attributes for this command.
Arguments
Use the argument value to identify the specific object for which you want the status. If you specify multiple
objects, each must be separated by spaces.
The argument value identifies the specific object the command applies to. If multiple objects are specified,
each instance must be separated by one or more white spaces.
You can use the following argument values with the pdq command:
LocalJobId[.DocNumber]
Specify the jobs or documents that you want listed as determined by a local ID or a local ID and docu-
ment number. If you specify multiple arguments on the command line, each must be separated by
spaces.
GlobalJobId[.DocNumber]
Specify the job or documents you want listed as determined by a global ID or a global ID and docu-
ment number. If you specify multiple arguments on the command line, each must be separated by
spaces.
If you omit the -p LogicalPrinterName option, or the command-attribute
printer-name-
registered=
PrinterName, and the LocalJobId or GlobalJobId argument, all of the jobs in the queue
associated with your defaults logical printer (defined in your PDPRINTER environment variable) are listed.
EXAMPLES
Query All Jobs on the Default Printer
To list all your jobs sent to your default logical printer LogPrt4, enter the command:
pdq
Section 1750 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005