What is the term used when JCL statements are grouped together and given a name?

  1. Procedure or PROC

  2. Cataloged Procedures

  3. In-stream Procedure

  4. None of the above


Correct Option: A
Explanation:

To solve this question, the user needs to know about JCL (Job Control Language) and the concept of procedures.

The correct answer is:

A. Procedure or PROC

Explanation:

In JCL, a procedure is a set of JCL statements that are grouped together and given a name. This name is called a PROC and it can be used throughout the JCL code instead of writing the same block of code multiple times. Procedures can be defined either within the JCL job itself or in a separate member of a partitioned dataset called a procedure library.

Cataloged Procedures (option B) are a specific type of procedure that are stored in a system library and can be invoked from any job in the system. In-stream Procedure (option C) is a term used to refer to a procedure that is defined within the JCL job itself, rather than in a separate member of a partitioned dataset.

Option D is incorrect as option A is the correct answer.

Therefore, the answer is: A. Procedure or PROC

Find more quizzes: