Defining the filtering criteria to query z/OS® jobs
Each filterCriteria statement has the following form:
- details
- Not used. Set to null.
- value
- An array of values for the dataType.
- minimum
- A single value representing the minimum of a range.
- maximum
- A single value representing the maximum of a range.
- dataType
- A string identifying the field for which you have supplied a value, several values, or a range. The fields are defined and documented in the SchedulingFactory.wsdl file and also as follows:
- JOB_ID
- Not used; set to null.
- JOB_NAME
- The name of the job. Must be numeric.
- JOB_STREAM_NAME
- The name of the job stream in which the job ran.
- WORKSTATION_NAME
- The name of the workstation that ran the job.
- STATUS_LIST
- Can be one of the following:
- BLOCKED
- CANCELLED
- COMPLETED
- ERROR
- HELD
- READY
- STARTED
- WAITING
- UNDECIDED
- INTERNAL_STATUS_LIST
- Can be one of the following:
- COMPLETE
- DELETED
- ERROR
- WAITING
- STARTED
- UNDECIDED
- READY
- PENDINGPRED
- WAITINGFORINPUT
- INTERRUPTED
- NOREPORTINGPRED
- PRIORITY
- The execution priority with which the job ran. Can be one (or a range of values) of the following:
- A number ranging from 0 to 99
- hi
- go
- PRIORITY_RANGE
- Used if you want to query jobs within a range of priority values. In this case, minimum and maximum must also be supplied.
- CONFIRMED
- Not used; set to null.
- RERUN
- Not used; set to null.
- START_TIME
- The start time defined for the job in YYYYMMDD HHMM format or milliseconds.
- START_TIME_RANGE
- Used if you want to query jobs within a range of start times in YYYYMMDD HHMM format or milliseconds. In this case, minimum and maximum must also be supplied.
- UNTIL_TIME
- Not used; set to null.
- UNTIL_TIME_RANGE
- Not used; set to null.
- FINISH_TIME
- The finish time defined for the job in YYYYMMDD HHMM format or milliseconds.
- FINISH_TIME_RANGE
- Used if you want to query jobs within a range of finish times in YYYYMMDD HHMM format or milliseconds. In this case, minimum and maximum must also be supplied.
- RECOVERY_OPTION_LIST
- Not used; set to null.
- MONITORED_JOB
- Determines if only monitored jobs are to be selected. Can be true or false.
- TASK
- The name of the task.
- USER_LOGIN
- Not used; set to null.
- ERROR_CODE
- Job error code.