Creating a job description
You can use either the IBM Navigator
for i interface or
the character-based interface to create a job description.
IBM Navigator for i
- Expand .
- Select the Create Job Description action from the Actions drop-down.
Character-based interface
You can use the Work With Job Description (WRKJOBD) command, or the Create Job Description (CRTJOBD) command to create a job descriptions.
Command: Create Job Description (CRTJOBD)
CRTJOBD JOBD(INT4) USER(*RQD) RTGDTA(QCMDI) INQMSGRPY(*SYSRPYL) TEXT('Interactive #4 JOBD for Department 127')
This command creates a job description named BATCH3 in the user's current library. The jobs
using this description are placed on the job queue NIGHTQ. The priority for jobs using this
description and their spooled output is 4. QCMDB is the routing data that is compared with entries
in the routing table of the subsystem where the job runs. The accounting code of NIGHTQ012345 is
used when recording accounting statistics for jobs that use this job description.
CRTJOBD JOBD(BATCH3) USER(*RQD) JOBQ(NIGHTQ) JOBPTY(4) OUTPTY(4) ACGCDE(NIGHTQ012345) RTGDTA(QCMDB) TEXT('Batch #3 JOBD for high priority night work')
Note: The values in the job description are typically used as the default values of the
corresponding parameters in the Batch Job (BCHJOB) and Submit Job (SBMJOB) commands when their
parameters are not specified. The values in the job description can be overridden by the values
specified on the BCHJOB and SBMJOB commands