Actions against jobs - target limitations
JES Job Monitor does not provide z/OS® Explorer users full operator access to the JES spool. Only the Hold, Release, Cancel, Purge, change CLASS, and change MSGCLASS commands are available, and by default, only for spool files owned by the user. The commands are issued by selecting the appropriate option in the client menu structure (there is no command prompt). The scope of the commands can be widened, using security profiles to define for which jobs the commands are available.
Similar to the SDSF SJ action character, JES Job Monitor also supports the Show JCL command to retrieve the JCL that created the selected job output, and show it in an editor window. JES Job Monitor retrieves the JCL from JES, making it a useful function for situations in which the original JCL member is not easily located.
Action | JES2 | JES3 |
---|---|---|
Change CLASS |
|
*F,J=jobid,C=class |
Change MSGCLASS |
|
*F,U,J=jobid,NCL=class |
Hold | $Hx(jobid) with x = {J, S or T} |
*F,J=jobid,H |
Release | $Ax(jobid) with x = {J, S or T} |
*F,J=jobid,R |
Cancel | $Cx(jobid) with x = {J, S or T} |
*F,J=jobid,C |
Purge | $Cx(jobid),P with x = {J, S or T} |
*F,J=jobid,C |
Show JCL | not applicable |
not applicable |
LIMIT_COMMANDS
directive,
as documented in "FEJJCNFG, JES Job Monitor configuration
file" in
the Host Configuration Guide (SC27-8437).Job owner | ||
---|---|---|
LIMIT_COMMANDS | User | Other |
USERID (default) | Allowed | Not allowed |
LIMITED | Allowed | Allowed only if explicitly permitted by security profiles |
NOLIMIT | Allowed | Allowed if permitted by security profiles or
when the JESSPOOL class is not active |
JES uses the JESSPOOL
class to protect SYSIN/SYSOUT
data sets. Similar to SDSF, JES Job Monitor extends the use of the JESSPOOL
class
to protect job resources as well.
LIMIT_COMMANDS
is not USERID
,
then JES Job Monitor will query for permission to the related profile
in the JESSPOOL
class, as shown in the following
table.
Command | JESSPOOL profile | Required access |
---|---|---|
Hold | nodeid.userid.jobname.jobid | ALTER |
Release | nodeid.userid.jobname.jobid | ALTER |
Cancel | nodeid.userid.jobname.jobid | ALTER |
Purge | nodeid.userid.jobname.jobid | ALTER |
Show JCL | nodeid.userid.jobname.jobid.JCL | READ |
Name | Substitution |
---|---|
nodeid | NJE node ID of the target JES subsystem |
userid | Local user ID of the job owner |
jobname | Name of the job |
jobid | JES job ID |
If the JESSPOOL
class is not active, then
there is different behavior for the LIMITED
and NOLIMIT
value
of LIMIT_COMMANDS
, as described in the "LIMIT_COMMANDS command
permission matrix table" in "FEJJCNFG, JES Job Monitor Configuration
file" in
the Host Configuration Guide (SC27-8437).
The behavior is identical when JESSPOOL
is active,
since the class, by default, denies permission if a profile is not
defined.