Multiple choice technology programming languages

Which is the correct statement which will check only for errors?

  1. TYPRUN=COMPILE

  2. TYPRUN=ERRFREE

  3. TYPRUN=HOLD

  4. TYPRUN=SCAN

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

TYPRUN=SCAN checks JCL syntax for errors without actually executing the job. It's useful for validation. TYPRUN=COMPILE compiles a program but doesn't execute. TYPRUN=HOLD holds the job. TYPRUN=ERRFREE isn't valid (you might be thinking of a compiler option). SCAN is the only one that purely checks for errors without execution.