Now, Get RPG Codes in all three formats only on this website on every RPGLE related programming article.

Fixed, /Free and Fully Free RPG


Job Description (JOBD) for Job in AS400

Job Description for Job in AS400
Job Description for Job in AS400, as400 jobs, job,job related information in as400,JOB description, JOBD, as400, ibmi, iseries, introduction, what, about
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

  1. 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
  2. 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 
    
  3. Job-Description-Name: Specify the name of user-created JOBD up to 10 characters.

Possible values of JOBD library

  1. *LIBL: The library list is searched for the JOBD object.
  2. *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.
  3. 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.

Post a Comment

© AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain