Job Description for Job in AS400 |
Introduction to Job Description
A job description (JOBD) contains some specific information related with Job such as Job queue to be used by the Job, scheduling priority, routing data, message queue severity, library list information, and output information. These attributes determine how each job is run on the system.
We can specify the JOBD name for the Job to be run or we can specify *USRPRF so that JOBD associated with the user profile would be used.
A JOBD can be used by several Jobs in AS400 and CRTJOBD command creates the Job description.
Possible values of JOBD
- QDFTJOBD: This is the system-supplied Job description found in library QGPL. You can run the DSPJOBD command from the Command line to see the attributes contained in this Job description
- Job-Description-Name: Specify the name of user-created JOBD up to 10 characters.
DSPJOBD QDFTJOBD
Display Job Description S Job description: QDFTJOBD Library: QGPL User profile . . . . . . . . . . . . . . . . . . : *RQD CL syntax check . . . . . . . . . . . . . . . . : *NOCHK Hold on job queue . . . . . . . . . . . . . . . : *NO End severity . . . . . . . . . . . . . . . . . . : 30 Job date . . . . . . . . . . . . . . . . . . . . : *SYSVAL Job switches . . . . . . . . . . . . . . . . . . : 00000000 Inquiry message reply . . . . . . . . . . . . . : *RQD Job priority (on job queue) . . . . . . . . . . : 5 Job queue . . . . . . . . . . . . . . . . . . . : QBATCH Library . . . . . . . . . . . . . . . . . . . : QGPL Output priority (on output queue) . . . . . . . : 5 Printer device . . . . . . . . . . . . . . . . . : *USRPRF Output queue . . . . . . . . . . . . . . . . . . : *USRPRF Library . . . . . . . . . . . . . . . . . . . : Message logging: Level . . . . . . . . . . . . . . . . . . . . : 4 Severity . . . . . . . . . . . . . . . . . . . : 0 Text . . . . . . . . . . . . . . . . . . . . . : *SECLVL Log CL program commands . . . . . . . . . . . . : *YES Job log output . . . . . . . . . . . . . . . . . : *SYSVAL Accounting code . . . . . . . . . . . . . . . . : *USRPRF Print text . . . . . . . . . . . . . . . . . . . : *SYSVAL Routing data . . . . . . . . . . . . . . . . . . : QCMDI Request data . . . . . . . . . . . . . . . . . . : *NONE DDM conversation . . . . . . . . . . . . . . . . : *KEEP Device recovery action . . . . . . . . . . . . . : *SYSVAL Time slice end pool . . . . . . . . . . . . . . : *SYSVAL Job message queue maximum size . . . . . . . . . : *SYSVAL Job message queue full action . . . . . . . . . : *SYSVAL Allow multiple threads . . . . . . . . . . . . . : *NO Initial ASP group . . . . . . . . . . . . . . . : *NONE Spooled file action . . . . . . . . . . . . . . : *SYSVAL Workload group . . . . . . . . . . . . . . . . . : *SBSD Text . . . . . . . . . . . . . . . . . . . . . . : Default job description
Possible values of JOBD library
- *LIBL: The library list is searched for the JOBD object.
- *CURLIB: The current library of the Job is used to look for the JOBD object. If the current library is not set for the Job, default QGPL is used.
- Library-Name: Specify the library name of the system where the JOBD object is present.
In AS400 Jobs, we can specify the JOBD value to control the access of library list by the Job.