0

mainframe Online Quiz - 48

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

CICS Abend caused when alphanumeric string is moved to numeric data Item

  1. ASRA

  2. AICA

  3. AEY9

  4. ANUM


Correct Option: A

The COBOL Program's section which is part of a called program that 'links' or maps to data items in the calling program's working storage

  1. STORAGE

  2. DATA

  3. MAP

  4. LINKAGE


Correct Option: D

A DB2 process that builds an access path to DB2 tables

  1. COMPILE

  2. BIND

  3. TRANSLATE

  4. LINK


Correct Option: B

This describes the type and location of data sets on the volume

  1. VTOC

  2. VOTC

  3. COTV

  4. COVT


Correct Option: A

The execute diagnostic facility that can be used for debugging CICS programs

  1. CEDA

  2. CESN

  3. CEDF

  4. CEBR


Correct Option: C

Name the divisions in COBOL program?

  1. Identification, Environment, Working Storage, Procedure.

  2. Identification, Environment, Data, Procedure.

  3. Identification, Environment, Data, Linkage.

  4. Identification, File section, Environment, Procedure.


Correct Option: B

What is not the component of a COBOL program?

  1. Section

  2. Paragraph

  3. Modules

  4. Division


Correct Option: C

Level used for Rename is

  1. 77

  2. 88

  3. 66

  4. 99


Correct Option: C

Level used for condition is

  1. 77

  2. 88

  3. 99

  4. 66


Correct Option: B

What is the difference between 01 & 77 levels?

  1. 77- Describe Elementary item, 01- Describe elementary and group items

  2. 01- Describe Elementary item, 77- Describe elementary and group items

  3. 77- Describe group item, 01- Describe elementary and group items

  4. 77- Describe conditional item, 01- Describe rename items


Correct Option: A

Can I redefine an X(100) field with a field of X(200)?

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, let's first understand what an X(100) field and an X(200) field represent.

In programming and data storage, the notation X(n) is commonly used to represent a field that can hold a character string of length n. For example, X(100) represents a field that can store a character string of up to 100 characters, and X(200) represents a field that can store a character string of up to 200 characters.

Now, coming back to the question, can we redefine an X(100) field with a field of X(200)?

The correct answer is A) True.

This is because when you redefine a field, you are essentially changing its definition or characteristics. In this case, you are changing the length limitation of the field from 100 characters to 200 characters. As long as the new field (X(200)) can accommodate the data that was originally stored in the old field (X(100)), you can successfully redefine the field without losing any data.

It's worth noting that redefining a field may require careful consideration, especially if the field is used in multiple parts of a program or if it affects other related data structures. It's important to ensure that the change is compatible with the overall system design.

Which is not a figurative constant below:

  1. Zero

  2. Zeroes

  3. Zeros

  4. 0


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of figurative constants. Figurative constants are symbols used to represent fixed values or quantities in mathematical expressions or equations.

Let's go through each option to understand why it is correct or incorrect:

Option A) Zero - This option is a figurative constant because "Zero" is a word used to represent the numerical value 0.

Option B) Zeroes - This option is a figurative constant because "Zeroes" is the plural form of "Zero" and is used to represent multiple instances of the numerical value 0.

Option C) Zeros - This option is a figurative constant because "Zeros" is another way to represent the numerical value 0.

Option D) 0 - This option is not a figurative constant because "0" is the actual numerical representation of the value zero. It is a literal constant, not a figurative constant.

The correct answer is D) 0. This option is not a figurative constant because it is the actual numerical representation of zero.

Are PIC 9.99 and PIC 9V99 similar?

  1. True

  2. False


Correct Option: B

What is the PIC representation for +123.876?

  1. PIC S9(3).999

  2. PIC 9(3).999

  3. PIC S9(3)V999

  4. PIC 9(3)V999


Correct Option: C

Numeric values can have a maximum of X digits, what is X?

  1. 8

  2. 9

  3. 18

  4. 19


Correct Option: C

“SELECT FILE-1 ASSIGN TO INFILE”, in this statement what is the logical and physical file name?

  1. Logical- FILE-1, Physical- INFILE

  2. Logical- INFILE, Physical- FILE-1

  3. Logical- None, Physical-ASSIGN

  4. None of them


Correct Option: A

Can Redefine & occur clause coded in the same level?

  1. True

  2. False


Correct Option: B

Column 8 is in area A

  1. True

  2. False


Correct Option: A

Which column is used to provide comments in a COBOL program?

  1. 3

  2. 7

  3. 9

  4. 19


Correct Option: B

Linkage section is present in which division?

  1. Identification

  2. Procedure

  3. Data

  4. Environment


Correct Option: C
- Hide questions