HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
p
pdrm(1) pdrm(1)
(TO BE OBSOLETED)
message="
MessageText
"
Specify the message that you want stored in the
job-message-from-administrator
attri-
bute. You can use this message to indicate the reason for removing the job or to provide other com-
ments.
If the
message attribute is not specified, the message already stored with the job remains
unchanged.
You can list this message by specifying
requested-attributes=job-message-from-
administrator
with the pdls command.
Object Attribute
You may specify this attribute in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the
-X AttributesFileName option.
job-retention-period=
time
Specify the amount of time for the server to retain the job before the job is deleted. If a retention
period was previously specified for the job, this new retention period takes precedence over the previ-
ous job retention period.
Arguments
Use the argument to specify the job to delete.
You can use the following arguments with the
pdrm command:
LocalJobID
Specify the local ID of the job that you want removed.
This argument must appear last in the command. If you want to cancel more than one job, each
identifier must be separated by spaces.
GlobalJobId
Specify the global ID of the job that you want removed.
This argument must appear last in the command. If you want to cancel more than one job, each
identifier must be separated by spaces.
EXAMPLES
Remove A Job
To remove your job number 15, enter the command:
pdrm 15
To remove global job number Super1:1011223002 on the spooler Super1, enter the command:
pdrm Super1:1011223002
Remove Job Regardless of Retention Time
To remove your job number 10 as soon as possible, regardless of any previously specified
job-
retention-period
attribute value, enter one of the following commands:
pdrm -x job-retention-period=0 10
or
pdrm -r 0 10
SEE ALSO
pdclean(1), pdcreate(1), pddelete(1), pddisable(1), pdenable(1), pdls(1), pdmod(1), pdpause(1), pdpr(1),
pdpromote(1), pdq(1), pdresubmit(1), pdresume(1), pdset(1), pdshutdown(1).
STANDARDS CONFORMANCE
pdrm: POSIX 1387.4
Section 1−−758 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005