HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Commands
snaprjecan
Chapter 4102
-r option, which is valid only if you are logged on as
root, forces the job to be cancelled regardless of the user
ID with which it was submitted.
Parameters
WKST
WKST
indicates the name of the RJE workstation to
which the job was submitted. This must be the name of
an RJE workstation in the SNAplus2 configuration file,
whether or not the named workstation is currently
running.
spool-id
spool-id
indicates the spool ID of the job to be
cancelled. You can cancel more than one job by
specifying more than one spool ID.
The spool ID for a job is returned by the snaprjesend command when the
job is submitted. You can also use the snaprjelst command to list the
spooled jobs for a workstation with their spool IDs.
To cancel all jobs submitted with your user ID (or all jobs regardless of
user ID if you are using the -r option), replace the list of spool IDs with
the word ALL or all.
Example
To cancel a job on the spool for workstation RJE1, type the following
command:
snaprjecan RJE1 SPL_fjghld
When you use the command as in the example above, the program
responds with the following message:
Job SPL_fjghld cancelled
Other messages may be sent to standard error, indicating (for instance)
that a parameter in the workstation style file was invalid, or that an
invalid option or an invalid workstation name was supplied. In
particular, the -r option is treated as an invalid option if you are not
logged on as root.