0

mainframe Online Quiz - 12

Description: mainframe Online Quiz - 12
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

What is TIME=1440 mean

  1. a) CPU time limit is 1440 minutes (maximum limit)

  2. b) No CPU time limit is to be applied to this step

  3. c) CPU time limit is 1440 seconds

  4. d) None of the above


Correct Option: B
  1. a) //SYSIN DD*

  2. b) //SYSIN DD *

  3. c) Both a and b

  4. d) Neither of the above


Correct Option: B

What is order of searching of the libraries in a JCL

  1. a) STEPLIB, JOBLIB, SYS1.LINKLIB

  2. b) JOBLIB, STEPLIB, SYS1.LINKLIB

  3. c) SYS1.LINKLIB,STEPLIB, JOBLIB

  4. d) As defined in the EXEC statement


Correct Option: A

How many positional parameters are there in job statement?

  1. a) 1

  2. b) 2

  3. c) 3

  4. d) 4


Correct Option: B

The maximum number of in-stream procedure you can code in any JCL is ?

  1. a) 7

  2. b) 5

  3. c) 10

  4. d) 15


Correct Option: D

The types of processing supported by ESDS are

  1. a) sequential

  2. b) skip-sequential

  3. c) a and b

  4. d) Neither


Correct Option: C
  1. a) ESDS and KSDS Only

  2. b) all KSDS, ESDS and RRDS

  3. c) RRDS and ESDS Only

  4. d) KSDS Only


Correct Option: A
  1. a) INDEXED

  2. b) NUMBERED

  3. c) LINEAR

  4. d) NONINDEXED


Correct Option: A

The default cluster type is

  1. a) ESDS

  2. b) RRDS

  3. c) LDS

  4. d) KSDS


Correct Option: D
Explanation:

To answer this question, the user needs to have knowledge of the different types of datasets in mainframe.

The default cluster type in mainframe is KSDS (Key Sequenced Dataset).

Option A) ESDS (Entry Sequenced Dataset) is incorrect because it is not the default cluster type.

Option B) RRDS (Relative Record Dataset) is incorrect because it is not the default cluster type.

Option C) LDS (Linear Dataset) is incorrect because it is not a type of clustered dataset.

Option D) KSDS (Key Sequenced Dataset) is the correct answer. It is the default cluster type used in mainframes.

Therefore, the answer is: D. KSDS.

The REPLACE parameter causes

  1. a) KSDS records to be replaced by an input record with the same key

  2. b) ESDS records to be replaced by an input record with the same RBA

  3. c) RRDS records to be replaced by an input record with the same RRN

  4. d) a and c


Correct Option: C

Which of the following entry names are valid for ALTER FREESPACE?

  1. a) Cluster name

  2. b) Data component name

  3. c) Index component name

  4. d) b and c


Correct Option: B

When defining a KSDS, the best place to specify CISZ is generally

  1. a) At the cluster level

  2. b) At the data level only

  3. c) At the index level only

  4. d) At both data and index levels


Correct Option: B
  1. a) Creating new Datasets

  2. b) Deleting Datasets

  3. c) Removing a dataset from the Catalog

  4. d) All of the above


Correct Option: D

IDCAMS can X) Define a VSAM file Y) Load a VSAM File Z) Print a VSAM File

  1. a) Only X is TRUE

  2. b) Only X and Y are TRUE

  3. c) Only X, Y and Z are TRUE

  4. d) Only Y is TRUE


Correct Option: C
  1. a) Counts the Number of records copied and displays in SYSOUT

  2. b) Counts the Number of records copied and displays in SYSPRINT

  3. c) Specifies the numebr of records to be copied

  4. d) None of the above


Correct Option: C
  1. a) Copy one flat file to another

  2. b) Copy one PDS to another

  3. c) Copy one VSAM to another

  4. d) All of the above


Correct Option: B

What is the maximum no of generations you can have in a GDG

  1. a) 15

  2. b) 255

  3. c) 2056

  4. d) 6046


Correct Option: B

What is the OUTPUT of the following step //STEP1 EXEC PGM=IEBCOPY //SYSUT1 = TEST.DATASET //SYSIN DD * COPY INDD=SYSUT1 OUTDD = SYSUT1

  1. a) TEST.DATASET gets compressed

  2. b) TEST.DATASET gets overwritten

  3. c) TEST.DATASET gets deleted

  4. d) S04 ABEND


Correct Option: A

JCL statements that are not allowed in procs are

  1. JOB, Delimiter(/*), or Null statements

  2. DD * or DATA statements

  3. Any JES2 or JES3 control statements

  4. All the above


Correct Option: D

AI Explanation

To answer this question, we need to understand the purpose and restrictions of JCL statements within PROCs (procedures).

JCL (Job Control Language) is a scripting language used to define and control batch jobs in mainframe systems. PROCs, also known as procedures or job templates, are reusable sets of JCL statements that can be invoked by multiple jobs.

When using PROCs, there are certain JCL statements that are not allowed within them. Let's go through each option to understand why it is correct or incorrect:

Option A) JOB, Delimiter(/), or Null statements - This option is incorrect. JOB, Delimiter(/), or Null statements are allowed in PROCs. These statements are used to define the job and its attributes.

Option B) DD * or DATA statements - This option is incorrect. DD * or DATA statements are allowed in PROCs. These statements are used to specify input and output data sets for the job steps.

Option C) Any JES2 or JES3 control statements - This option is incorrect. JES2 (Job Entry Subsystem 2) and JES3 (Job Entry Subsystem 3) control statements are allowed in PROCs. These statements are used to control the execution and management of jobs.

Option D) All the above - This option is correct. None of the statements mentioned in the options (JOB, Delimiter(/*), Null statements, DD *, DATA statements, JES2 or JES3 control statements) are disallowed in PROCs. Therefore, the correct answer is D.

In summary, the JCL statements mentioned in the options (JOB, Delimiter(/*), Null statements, DD *, DATA statements, JES2 or JES3 control statements) are all allowed in PROCs.

  1. 0

  2. +1

  3. -1

  4. None of the Above


Correct Option: B
- Hide questions