Processing IQ for Freshers


What are the various stages of Job processing?

JOB Processing
  • Submit JOB - Submitting the JOB for processing.
  • JOB Entry System - Accepts the job for processing.
  • JOB Execution Ready - JES will replace all symbolic parameters, PROCS, convert the total JOB into a single JOB, and makes execution ready with all parameters.
  • JOB Queuing - JES decides the priority of the JOB execution based on CLASS and PRTY parameters in the JOB statement. If some jobs are at a higher priority, then those jobs get executed first, and the current JOB is on hold. The queue set for execution is called JOB Queue.
  • Job Execution - When the JOB reaches its highest priority, JOB gets active for execution from the JOB queue.
  • JOB syntax and File Validation - The JCL errors and file validations are handled in this step.
    • If there are no errors, the JOB execution starts immediately, writes the logs to SPOOL, generates the output and completes the JOB execution successfully.
    • If there are errors, JOB fails with JCL errors.
  • Purging - When the JOB is completed (Successfully/Unsuccessfully), the allocated resources and spaces are released.

How does the JCL specify the JOB to OS?

In JCL, the job statement specifies the key parameters to OS, such as job name, accounting information, and priority, which the OS uses to manage and execute the job.

How do you submit a job for execution?

To submit a job for execution in JCL, you use the SUBMIT or SUB command. This command sends the job to the Job Entry Subsystem (JES) for processing.

How to verify the job output?

To verify the job output in JCL, you check the job log using tools like SDSF (System Display and Search Facility) or similar mainframe utilities. These tools allow you to view the job's execution results, including messages, return codes, and any generated reports or files.

I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

All the jobs gets submitted in the order how they coded.

Frequently Asked Questions -

What are the different stages of job processing in JCL?
Explain how JCL execution works?