0

mainframe Online Quiz - 83

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

How many divisions are there in Cobol

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: D

Cobol is a non structured language

  1. True

  2. False


Correct Option: B

There is no need to include the DCLGEN in the cobol program

  1. True

  2. False


Correct Option: A
  1. 60 bytes

  2. 55 bytes

  3. 80 bytes

  4. 71 bytes


Correct Option: D

What is the purpose of the ‘DD KEYLEN’ parameter?

  1. Specify the length of a data set key in bytes

  2. Override the key length of an SMS defined VSAM dataset

  3. Override the key length specified in the dataset label

  4. All of the above


Correct Option: D

AI Explanation

To answer this question, we need to understand the purpose of the 'DD KEYLEN' parameter.

Option A) Specify the length of a data set key in bytes - This option is correct because the 'DD KEYLEN' parameter is used to specify the length of a data set key in bytes. The key length is important in determining how the data in the dataset is organized and accessed.

Option B) Override the key length of an SMS defined VSAM dataset - This option is correct because the 'DD KEYLEN' parameter can also be used to override the key length of an SMS (System Managed Storage) defined VSAM (Virtual Storage Access Method) dataset. SMS is a feature of IBM's z/OS operating system that automatically manages storage devices and data sets.

Option C) Override the key length specified in the dataset label - This option is correct because the 'DD KEYLEN' parameter can also be used to override the key length specified in the dataset label. The dataset label contains information about the dataset, including the key length.

Option D) All of the above - This option is correct because all of the statements in options A, B, and C are true. The 'DD KEYLEN' parameter can be used to specify the key length of a data set, override the key length of an SMS defined VSAM dataset, and override the key length specified in the dataset label.

Therefore, the correct answer is D) All of the above.

  1. Through the PARM keyword

  2. Through the VALUE parameter

  3. Through the PGM parameter

  4. All of the above


Correct Option: A
Explanation:

To pass values from the job stream to an executable program, the user can use various methods. Let's go through each option and explain why it is right or wrong:

A. Through the PARM keyword: This option is correct. The PARM keyword is used to pass values from a job stream to an executable program. The values are passed as arguments to the program and can be accessed by the program using the standard programming language constructs.

B. Through the VALUE parameter: This option is incorrect. The VALUE parameter is not used for passing values from a job stream to an executable program. It is used for assigning a value to a symbolic parameter.

C. Through the PGM parameter: This option is incorrect. The PGM parameter is used to specify the name of the program to be executed. It is not used for passing values from a job stream to an executable program.

D. All of the above: This option is incorrect. Option A is the only correct option for passing values from a job stream to an executable program. The VALUE parameter is not used for this purpose, and the PGM parameter specifies the name of the program to be executed.

Therefore, the answer is: A

  1. Overriding or adding procedures

  2. Logically connecting input datasets

  3. Overriding a called PROC dsname

  4. All of the above


Correct Option: B

What is the function of DD DISP parameter?

  1. Tells the system what to do with the dataset following normal termination of the step

  2. Describes the status of the dataset

  3. Tells the system what to do with the dataset following abnormal termination of the step

  4. All of the above


Correct Option: D

What is the purpose of DD * statement in JCL?

  1. Begins an input data prompt at the system console

  2. Begins an in-stream dataset

  3. Marks the end of a command stream

  4. Includes all datasets within a naming pattern


Correct Option: B

What statement marks the end of an in-stream or Catalogued procedure ?

  1. STREAM

  2. SET

  3. PROC

  4. PEND


Correct Option: D

What is the purpose of DD DUMMY statement ?

  1. Marks a deleted DD statement

  2. Begins an interpreted command stream

  3. Specifies no space allocation & no disposition processing

  4. Suppress command processing


Correct Option: C

AI Explanation

To answer this question, we need to understand the purpose of the DD DUMMY statement in JCL (Job Control Language).

Option A) Marks a deleted DD statement - This option is incorrect. The DD DUMMY statement does not mark a deleted DD statement. It is used to specify no space allocation and no disposition processing.

Option B) Begins an interpreted command stream - This option is incorrect. The DD DUMMY statement is not used to begin an interpreted command stream. It is used in JCL to specify no space allocation and no disposition processing.

Option C) Specifies no space allocation & no disposition processing - This option is correct. The purpose of the DD DUMMY statement is to specify that no space allocation should be performed and no disposition processing should be done. It is typically used for a dummy or placeholder DD statement when a particular data set or file is not required for a specific step in the job.

Option D) Suppress command processing - This option is incorrect. The DD DUMMY statement does not suppress command processing. It is used to specify no space allocation and no disposition processing.

The correct answer is C) Specifies no space allocation & no disposition processing. This option is correct because the purpose of the DD DUMMY statement is to specify that no space allocation should be performed and no disposition processing should be done.

CICS manages which of the below?

  1. Only online processes

  2. Neither online nor batch processes

  3. Only batch processes

  4. Both online & batch process


Correct Option: D

What does CICS stand for ?

  1. Customer Information Communication System

  2. Customer Information Connecting System

  3. Customer Information Correspondence System

  4. Customer Information Control System


Correct Option: D

CICS acts as an interface between ____ and _____

  1. Operating System ; Kernel

  2. Operating System; Application Programs

  3. Hardware; Software

  4. Middle Tier; Hardware


Correct Option: B

BMS stands for?

  1. Bit Mapping Support

  2. Basic Mapping Standard

  3. Basic Mapping Support

  4. Basic Mutual Support

  5. Base Mapping Support


Correct Option: C
- Hide questions