Which one of the following keyword a PROC cannot have?
-
EXEC
-
SYSABEND
-
JOBLIB
-
SYSPRINT
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.