This command lists the running queued or historical jobs.
zos jobs [--all] [--detail] [--errors] [--submit=] [--hours=] [--active] [--count=] [--parent=]
Lists all users’ jobs, not just the logged in user’s jobs.
Displays detailed job information for each job.
Displays details of job and node errors.
Specifies a time when the user wants to see historical jobs. The user must enter a value with this option.
Specifies submit time in the form of last xxx hours. If specified, this option overrides the submit option. The user must enter a value with this option.
Lists only the currently active or running jobs.
Sets the maximum number of historical jobs retrieved. The user must enter a value with this option.
Specifies the parent job id. If this option is set, only the child jobs of this parent are displayed. The user must enter a value with this option.
Specifies the terminal width for formatting. The user must enter a value with this option.
Displays a help message for this operation.
Turns on debug output during this operation.
Turns on verbose output during this operation.
To display a detailed list of running jobs for all users, the user would enter the following command:
zos jobs -a -e
To display a list of queued, running, and recently run jobs, the user would enter the following command:
zos jobs
To display a list of jobs he or she submitted since 2:20 p.m., the user would enter the following command:
zos jobs --submit="2:20 PM"
NOTE:The date and time values should be specified as shown in the example—in the format MM/DD/YY hour:minute AM/PM and enclosed in quotes—"11/21/05 4:04 PM".
To display a list of all active subjobs for the jobid barney.load.677, the user would enter the following command:
zos jobs -A --parent=barney.load.677 --all
To display a list of all his or her jobs run in the past 24 hours, the user would enter the following command:
zos jobs -h 24