Multiple choice technology mainframe

use of TYPRUN=SCAN and TYPRUN=HOLD

  1. Scan - check the syntax error and will hold the job, Hold - Checks the syntax error

  2. Scan - will hold the Job, Hold - check for the syntax error

  3. Scan - checks the syntax error, Hold - will hold the job if there is no error and will end with JCL error if there is syntax error

  4. Scan and Hold both will check the syntax error and none of them will hold the job

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

TYPRUN=SCAN checks JCL syntax without executing the job. TYPRUN=HOLD also checks syntax but holds the job in input queue if error-free, or issues JCL error if syntax errors exist. Neither option actually holds a job with errors - SCAN just reports, HOLD only holds if syntax is valid.