Multiple choice technology programming languages

Which one of the following keyword a PROC cannot have?

  1. EXEC

  2. SYSABEND

  3. JOBLIB

  4. SYSPRINT

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

JOBLIB is a job-level statement that defines a private library for the entire job and cannot appear within a PROC. PROCs can contain EXEC statements (for steps), DD statements (like SYSPRINT for output, SYSABEND forabend dumps), and other step-level elements. JOBLIB must precede the first EXEC statement in a job.