JES Get Jobs

Function:

This tool retrieves JES jobs depending on the given input filter criteria.

Tool Attribute:

Attribute Type Description
Matchname String The match name to be used by the tool to identify JES jobs.

The default value is JOB.

Parameters:

Parameter Name I/O Type Description
Job Name Filter [O] I String Name filter for the JES jobs to be retrieved.

Default value is *

Job Owner Filter [O] I String Owner filter for the JES jobs to be retrieved.

Default value is *

Job Status Filter [O] I String Status Filter for the JES jobs to be retrieved.

Default value is All

Job List [M] O File Referencing a file descriptor which will contain the list of the retrieved JES jobs.

The output file descriptor is of type InputStream and will have the following structure:

Property No Target ID
1 [M] Element type

The default value is JOB.

2 [M] Job ID
3 [M] Job name
4 [M] Job owner
5 [M] Job phase detailed
6 [M] Job phase coded
7 [M] Condition Code (CC) of the job
8 [M] Condition Code of the job (detailed)
9 [M] Date/time when the job was scheduled on the input queue
10 [M] Date/time when the job execution started
11 [M] Date/time when the job ended
12 [M] Execution class
13 [M] Position in the job queue
14 [M] Priority value
15 [M] Job type (Batch job, Started Task, Time sharing user)

The following table shows the mapping between detailed and coded job phase:

Phase code Phase
13 Job is queued for execution
14 Job is actively executing
17 Job is active in output processing
20 Job is on hardcopy queue
129 Job is queued for conversion
130 Job is converting
131 Job is in setup
132 Processing spin data sets
133 Job is queued for output processing
134 Job is queued for purge
135 Job is currently purging
136 Job is active on Network Job Entry (NJE) sysout
137 Job is queued for execution on NJE node
138 Job is active on NJE node
253 Job has not completed execution
254 Job has completed execution