Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Jobs using Job Scheduler (WRKJOBJS) command allows you to work with a single job, groups of jobs or all jobs that you have set up in Advanced Job Scheduler. You can sequence the display by job, by date or by group.
When you select jobs that you want to work with, you are taken to the Work with Jobs display. From this display you can perform most job related functions.
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 | Generic name, name, *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 |
Top |
Specifies that you want to work with a single job, a generic group of jobs or all jobs. You can specify a single job with a 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 work with.
Top |
Specifies the schedule code or schedule name for the job or jobs that you want to work with.
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 for the jobs that you want to work with.
Top |
Specifies the name of the holiday calendar for the jobs that you want to work with.
Top |
Specifies the name of the fiscal year calendar for the jobs that you want to work with.
Top |
Specifies the remote location and network identification of the system that created the job entry that you want to work with.
Top |
Specifies the identifier of the report distribution names for the jobs that you want to work with.
Top |
Specifies the name of the library list that you want to work with. 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 work with.
Top |
Specifies the text related to the job that you want to work with. 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.
Top |
Specifies the command request for the jobs that you want to work with. You can include any command request, a string of command characters, or work with entries that have no command request.
Top |
Specifies the sequence in which you want to work with the selected job schedule entries.
Top |
WRKJOBJS SCDCDE(*DAILY) STATUS(*READY) SEQ(*DATE)
This command displays the Work with Jobs panel showing all jobs that have a schedule code of *DAILY and a status code of *READY. The jobs are presented in date sequence.
Top |
Top |