Defining the filtering criteria to query 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
- The job identifier.
- JOB_NAME
- The name of the job.
- 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:
- ABEND
- ABEND_P
- ADDING
- CANCEL
- CANT_STREAM
- CNPEND
- END_P
- ERROR_STAT
- EXEC
- EXEC_BM
- EXTRN
- FENCE
- HOLD
- MPE_INTRO
- MPE_INTRO_BM
- MPE_SCHED
- MPE_SUSP
- MPE_WAIT
- MPE_WAITD
- READY
- RESTART_JOB
- SUCC
- SUCC_P
- UNKNOWN
- USER_HELD
- USER_STREAM
- 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
- Determines if only confirmed jobs are to be selected. Can be true or false.
- RERUN
- Determines if only rerun jobs are to be selected. Can be true or false.
- 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
- The until time defined for the job in YYYYMMDD HHMM format or milliseconds.
- UNTIL_TIME_RANGE
- Used if you want to query jobs within a range of until times in YYYYMMDD HHMM format or milliseconds. In this case, minimum and maximum must also be supplied.
- 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
- Can be one of the following:
- STOP
- CONTINUE
- RERUN
- MONITORED_JOB
- Not used; set to null.
- TASK
- The name of the task.
- USER_LOGIN
- The login of the user who ran the job.
- ERROR_CODE
- Not used; set to null.