showjobs
You can use the showjobs command to view the information about jobs.
Overview
- keys
- info
- logon
- keys retcod
- deps
- stdlist
- keys
- info
- logon
Syntax and command line options
-
ocli plan showjobs | sj jobselect ;[deps[keys | info | logon]] ;[short | single] [;showid] [;props]
-
ocli plan showjobs | sj jobselect ;[info | logon | keys retcod] [;short | single] [;showid]
-
ocli plan showjobs | sj jobselect ;keys [;extended][;short | single][;showid]
-
ocli plan showjobs | sj jobselect |[[folder/]workstation#]jobnumber.hhmm] ;stdlist ;[short | single] [;showid] [;props]
- jobselect
- Specify the job to display.
- jobnumber
- Specify the job number for the job.
- hhmm
- The start time of the job.
- deps
- The jobs used in
follows
dependencies are displayed followed by the dependent jobs and job streams. The jobs and jobstreams are listed in the standard showjobs and standard showsched format. You can use the keys, info and logon options to further filter the results.- deps;keys
If you use the keys option with deps parameter, the jobs used in the
follows
dependencies are displayed with only the job ID per line. - deps;info
If you use the info option with deps parameter, the jobs are displayed in showjobs;info format. The job streams are displayed in standard showsched format.
- deps;logon
If you use the logon option with deps parameter, the jobs are listed in the showjobs;logon format. The job streams are listed in the standard showsched format.
- deps;keys
- keys
- If you add this option, job names are displayed with the job stream ID. It
is displayed as
follows:
18b90478-324e-47e5-94c8-53d05742ac96.JOBTRALIAS 45f7f20a-8adb-449e-8a56-819b365113e8.JOB_ALIAS153031420 c3c996a4-63a3-428e-acef-4b3fe8a714af.JOB_FOLL122403044 a770ebfa-42a3-4425-886c-1c492c53dd37.JOB_FOLL122455927 2e6d6cef-46f2-4887-bad7-52167fedf356.JOB_DEFINITION_074537663 115c2e7c-0c9a-4877-9c31-3ed595f99073.JOB_DEFINITION_074537663 9fc84c91-da10-4016-9af2-29974bf33092.JOB_DEFINITION_084437252 57b4fb84-0ad1-4004-8bb2-a59343b1747d.JOB_DEFINITION_085328934
-
- keys;extended
- If you add the extended option with
keys, the following information
is also displayed:
- Workstation name
- Job stream name
- The scheduled date and time to run the job.
-
If you add this option, the job details are displayed in the info format. For more information, see info format.
logonIf you add this option, the job details are displayed in the logon format. For more information, see Logon format.
retcodocli plan %sj @; keys retcod
- Header and trailer banners: The header contains job name, the workstation on which the jobs are running, job number, date (mm/dd/yy or mm/dd format), and time. The trailer displays information such as Exit Status, Elapsed Time, date and time.
- The output of the job.
On each line, the names of the standard files for the selected jobs are listed.
workstationThe name of the workstation on which the job runs. You can filter the jobs with wildcard characters.
short- The first iteration
- Jobs in different states
- Exactly matched jobs.
You can add this option to view the specific instance of a job. You must identify the jobs by job number with a jobselect value.
showidIf you add this option, the result will show the job ID.
propsIf you have display access to the props of the specified job and use this option with the command, then the following information is displayed.
- job
- Workstation Folder
- Workstation
- Task
- Task Type
- Job Stream Folder
- Job Stream Workstation Folder
- Job Stream
- Job Stream Workstation
- Scheduled Time
- Priority
- Login
- Monitored
- Requires Confirmation
- Critical
Runtime Information
- Status
- Internal Status
- Not Satisfied Dependencies
- Job Number
- Rerun Options
- rerun on the same workstation
- Information
- Promoted
- Return Code
- Return Code Mapping Expression
- Successful output conditions
- Other output conditions
Time Information
- Actual Start
- Earliest Start
- Latest Start
- Latest Start Action
- Maximum Duration
- Maximum Duration Action
- Minimum Duration
- Minimum Duration Action
- Critical Latest Start
- Deadline
- Deadline Action
- Repeat Range
- Actual Duration
- Estimated Duration
- Confidence Interval
Recovery information
- Action
- Message
- Job Definition
- Workstation Folder
- Workstation
Additional information
The additional properties that are specific to jobs defined by JSDL are displayed in this section.
- You cannot recover the information on archived jobs by using props option.
- When the output of a job is displayed, the job definition and the output conditions are not displayed.