Use a job description

The most common way to use a job description is by specifying it in the Submit Job (SBMJOB) command. The job description (JOBD) parameter is where you specify the job description that you want this job to use. When you define a batch job, you can use the job description in one of two ways:

The following are additional commands that support the job description parameter:
  • Batch Job (BCHJOB): This command indicates the beginning of a batch job in a batch input stream. It can also specify different values for the attributes for the job instead of the ones specified in the job description or user profile for this job. The values contained in the job description or in the user profile named in that job description are used for most parameters not coded in the BCHJOB command.
  • Add Prestart Job Entry (ADDPJE): The Add Prestart Job Entry (ADDPJE) command adds a prestart job entry to the specified subsystem description. The entry identifies prestart jobs that may be started when the subsystem is started or when the Start Prestart Jobs (STRPJ) command is entered.
  • Add Autostart Job Entry (ADDAJE): The Add Autostart Job Entry (ADDAJE) command adds an autostart job entry to the specified subsystem description. The entry identifies the job name and the job description to be used to automatically start a job.
  • Add Work Station Entry (ADDWSE): The Add Work Station Entry (ADDWSE) command adds a workstation entry to the specified subsystem description. Each entry describes one or more workstations that are controlled by the subsystem. The workstations identified in the workstation entries are allowed to sign on or enter the subsystem and run jobs.
Note: You cannot override any job description attributes for autostart jobs, workstation jobs, or communications jobs.
Related concepts
Job description