Tag: mainframe

Questions Related to mainframe

  1. (A) Have only Duplicate records from input to output

  2. (B) Remove Duplicates records and write as single instance in output

  3. (C) Have only non Duplicate records from input to output

  4. (D) None of the above


Correct Option: B
  1. A. Plan – Package – collection – DBRM

  2. B. Plan-Package – DBRM – collection

  3. C. Plan – collection – package – DBRM

  4. D. None


Correct Option: C
  1. (A) Level numbers can start from 0 to 99 and there are no Special Level numbers

  2. (B) Level numbers can start from 0 to 99 and 66, 77 and 88 are Special Level number

  3. (C) Level numbers can start from 0 to 49 and there are no Special Level numbers

  4. (D) Level numbers can start from 0 to 49 and 66, 77 and 88 are Special Level numbers.


Correct Option: D

In a Proc, if a particular Step is set to execute only on below COND parameter. (4,LT,STEP330),(4,LT,STEP340) What does it mean?

  1. (A) Only Execute if Step330 and 340 throws <= 4

  2. (B) Only Execute if Step330 or 340 throws <= 4

  3. (C) Only Execute if Step330 and 340 throws = 0

  4. (D) Only Execute if Step330 or 340 throws = 0


Correct Option: C

What is the parameter of REGION to be given to pick maximum space declared

  1. (A) REGION=0K OR 0M

  2. (B) REGION=OK or OM

  3. (C) REGION=0M

  4. (D) REGION=OM


Correct Option: A
  1. (A) COMP is a Binary storage format while COMP-3 is Packed decimal format

  2. (B) COMP is a Packed decimal format while COMP-3 is Binary storage format

  3. (C) Both COMP and Comp-3 are Binary storage format

  4. (D) Both COMP and COMP-3 are Packed decimal format.


Correct Option: A

Which of the below JCL statement(s) not allowed in Proc.

  1. (A) Job Delimiter /*

  2. (B) Joblib

  3. (C) Exec

  4. (D) None


Correct Option: A

AI Explanation

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.