Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Job using Job Scheduler (DSPJOBJS) command allows you to display or print a single job, groups of jobs or all jobs that you have set up in Advanced Job Scheduler You can sequence the display or report by job, by date or by group.
If you select a single job to display, you are taken to the Display Job display. If you select more than one job to display, you are taken to the Display Jobs display where you can select any of the group of jobs to display individually. If you want to print information about a job or group of jobs, you can select a specific area to print or you can print all areas.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
JOB | Job entry | Element list | Optional, Positional 1 |
Element 1: Job | Generic name, name, *ALL | ||
Element 2: Group | Generic name, name, *ALL, *NONE | ||
Element 3: Group sequence | 1-99, *ALL, *NONE | ||
APP | Application | Generic name, name, *ALL, *NONE | Optional |
SCDCDE | Schedule code | Character value, *ALL, *DAILY, *CALENDAR, *DATE, *DAY, *NUMDAY, *MINUTES, *ONCE, *MONTHEND, *FIRST, *SECOND, *THIRD, *FOURTH, *FIFTH, *LAST, *FIRSTWRK, *LASTWRK, *ALTERNATE, *TEMP, *NONE | Optional |
CAL | Calendar | Generic name, name, *ALL, *NONE | Optional |
HDYCAL | Holiday calendar | Generic name, name, *ALL, *NONE | Optional |
FSCCAL | Fiscal calendar | Generic name, name, *ALL, *NONE | Optional |
RMTLOCNAME | Remote location name | Name, *ALL, *LCL, *JOBCTL | Optional |
RPTDSTID | Report distribution ID | Generic name, name, *ALL, *NONE | Optional |
LIBL | Library list | Generic name, name, *ALL, *JOBCTL, *JOBD, *SYSVAL, *NONE | Optional |
STATUS | Job status | *ALL, *READY, *DEPW, *HELD, *OMIT, *PROCESS, *JOBQ, *SAVED | Optional |
TEXT | Text | Character value, *ALL, *NONE, *generic* | Optional |
CMD | Command request | Character value, *ALL, *NONE, *generic* | Optional |
SEQ | Sequence | *JOB, *DATE, *GROUP | Optional |
OUTPUT | Output | Optional | |
DETAIL | Detail | *BASIC, *FULL | Optional |
AREA | Area | Single values: *ALL Other values (up to 5 repetitions): *JOBDFN, *CMD, *AUT, *LDA, *DOC, *DEP |
Optional |
Top |
Specifies that you want to display or print a single job, a generic group of jobs or all jobs. You can specify a single job with generic group, all jobs with a single group and so on.
Element 1: Job
Element 2: Group
Element 3: Group sequence
Top |
Specifies the name of the application that you want to display or print.
Top |
Specifies the schedule code or schedule name for the job or jobs that you want to display or print.
Note: The schedule code *NONE replaces the schedule code *DEPJOB which was used in releases prior to V4R2.
Top |
Specifies the name of the calendar that you want to display or print.
Top |
Specifies the name of the holiday calendar that you want to display or print.
Top |
Specifies the name of the fiscal year calendar that you want to display or print.
Top |
Specifies the remote location and network identification of the system that created the job entry that you want to display or print.
Top |
Specifies the identifier of the report distribution names that you want to display or print.
Top |
Specifies the name of the library list that you want to include in the display or print. If you want to select a library list name from a list when prompting this command, place the cursor on this parameter and press F4.
Top |
Specifies the status code of the jobs that you want to display or print.
Top |
Specifies the text related to the job that you want to display or print. You can search for any string of characters, and only those job schedule entries that contain the string of characters in the text are included in the display or report.
Top |
Specifies the command request for the jobs that you want to display or print. You can include any command request, a string of command characters, or display entries that have no command request.
Top |
Specifies the sequence in which you want to display or report the selected job schedule entries.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Specifies the format used for the printed output.
Top |
Specifies the information about the job or jobs that you want to include in the report when you specify *FULL for the Detail (DETAIL) parameter.
Single values
Other values (up to 5 repetitions)
Top |
Example 1: Displaying a Job
DSPJOBJS JOB(JOB02) OUTPUT(*PRINT)
This command prints information for job JOB02.
Top |
Top |