SNA NRJE User/Programmer Reference Manual (30292-90006)
62 Chapter3
User Commands
CANCEL
If your logon
UserName.AcctName
is different from the
jobs you want to cancel, you must be a user configured
with NM capability to use this parameter.
@
Cancels all jobs from the current logon
UserName.AcctName
. Jobs awaiting transmission to
the host under the current
UserName.AcctName
are
purged. Data sets returning from the host for jobs
submitted under this
UserName.AcctName
prior to
this command are purged as they return.
HostJob
Either the job name from the JCL JOB card or the job
number assigned by the host. All entries in the NRJE
Job Log matching the job name and the logon
UserName.AcctName
are cancelled.
Multiple job numbers or names, to a maximum of five
jobs, are allowed and must be delimited by commas.
Jobs can be cancelled using the
HostJob
parameter
only after they have been entered in the Job Log (that
is, transmitted to the host). The Job Log is marked so
that data sets returning for the specified jobs are
purged.
If you are connected to a VSE/POWER host system,
this parameter is not allowed.
Wsid
Overrides the default
Wsid
named in the NRJE
command, for this command only.
When you specify WSID=
Wsid
in the CANCEL command,
you cancel jobs you have submitted at workstation
Wsid
.
Description
The CANCEL command enables you to remove previously submitted jobs
from the transmission queue and, for JES2 and JES3 users, to cause
NRJE to automatically purge output data sets for jobs that have
already been transmitted to the host. Use the SHOW command to get
information about jobs you want to cancel.
You can specify a particular workstation transmission queue by
entering the WSID=
Wsid
parameter in this command. If you omit the
Wsid
parameter, this command refers to the transmission queue of the
default workstation. You establish a default workstation by using the