Which of the below JCL statement(s) not allowed in Proc.
-
(A) Job Delimiter /*
-
(B) Joblib
-
(C) Exec
-
(D) None
IBM JCL procedures (Procs) cannot contain the job delimiter (/) statement. The / statement marks the end of a JOB, and since a PROC is invoked by a JOB statement, it cannot contain another job delimiter. JOBLIB and EXEC statements are allowed within procedures.
To answer this question, you need to understand the JCL (Job Control Language) statements and their usage.
Let's go through each option to understand why it is correct or incorrect:
Option A) (A) Job Delimiter /* - This option is incorrect because the Job Delimiter statement (/*) is allowed in JCL and is used to mark the beginning of a job. It is not specific to the Proc statement.
Option B) (B) Joblib - This option is incorrect because the Joblib statement is allowed in Proc and is used to specify a library dataset that contains the JCL for the job step.
Option C) (C) Exec - This option is incorrect because the Exec statement is allowed in Proc and is used to specify the program or procedure to be executed in the job step.
Option D) (D) None - This option is incorrect because there are JCL statements that are not allowed in Proc, such as the DD (Data Definition) statements that are used to define input and output datasets.
Based on the given options, the correct answer is A. The Job Delimiter statement (/*) is allowed in JCL and is not specific to the Proc statement.