Technical data
5.4.8 Removing Jobs from a Server
There are two commands available to remove jobs from a server; pddelete
and pdclean.
The pdclean command removes all jobs on a server.
The pddelete command removes one or more named jobs from a server.
5.4.8.1 Removing Named Jobs from a Server
Use the pddelete command to delete one or more named jobs from a server.
pddelete -c job job_id
The following example shows how to use the pddelete command:
Delete job 155 on spooler blue_spl:
# pddelete -c job blue_spl:155
5.4.8.2 Removing All Jobs from a Spooler
The pdclean command removes all jobs from a spooler. Consider the
following when using pdclean to remove jobs from a spooler.
• The clean operation is asynchronous. A new shell prompt appears before
the operation completes. Do not use pdshutdown in scripts unless the
scripts use other commands to monitor the commands progress.
• Before the operation can be executed, the spooler must be disabled.
• Jobs that are retained, completed, currently processing, or printing are
deleted.
The pdclean command has the following syntax:
pdclean -c server [-m message_txt] server_name
-m message_txt
Sets the server message text. Users can view the message with the
pdls command.
The following example shows how to use the pdclean command to remove
all jobs from red_spl:
# pdclean -c server red_spl
5–18 Creating and Managing Servers










