What statement marks the beginning of an in-stream or cataloged procedure in JCL and assigns default values to parameters defined in the procedure?
-
STREAM
-
SET
-
PROC
-
PEND
The PROC statement marks the beginning of a procedure in JCL and allows you to assign default values to symbolic parameters defined within that procedure. Procedures can be in-stream (defined inline) or cataloged (stored in a library), and PROC serves as the entry point for both cases.
To answer this question, you need to understand the concept of procedures in JCL (Job Control Language).
Option A) STREAM - This option is incorrect because "STREAM" is not a statement that marks the beginning of a procedure in JCL.
Option B) SET - This option is incorrect because "SET" is not a statement that marks the beginning of a procedure in JCL.
Option C) PROC - This option is correct. The "PROC" statement marks the beginning of an in-stream or cataloged procedure in JCL. It is followed by the name of the procedure and may include parameters. The PROC statement assigns default values to these parameters.
Option D) PEND - This option is incorrect. The "PEND" statement is used to mark the end of a procedure in JCL, not the beginning.
The correct answer is C) PROC. This option is correct because the PROC statement is used to mark the beginning of a procedure in JCL and assigns default values to parameters defined in the procedure.