0

mainframe Online Quiz - 67

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

The SYNCHRONIZED LEFT / RIGHT clause which specifies alignment of elementary data item on storage boundary can be specified for data items defined with USAGE IS INDEX.

  1. True

  2. False


Correct Option: A

CONFIGURATION SECTION in COBOL must be present.

  1. True

  2. False


Correct Option: B

Technically, can you use STOP RUN in a COBOL Subroutine

  1. Yes

  2. No

  3. Platform Dependent

  4. Compile but Goes into a LOOP


Correct Option: A

Size occupied by a data item having COMP-1 usage

  1. 1 word

  2. 2 word

  3. depends on value passed

  4. Usage can't be COMP-1


Correct Option: A

AI Explanation

To answer this question, we need to understand the usage of COMP-1 in COBOL.

In COBOL, the COMP-1 data type is used to represent single-precision floating-point numbers. It occupies 4 bytes or 1 word of storage.

Therefore, the correct answer is option A) 1 word. The size occupied by a data item having COMP-1 usage is 1 word.

we can set START position for a SEQUENTIAL file

  1. True

  2. False


Correct Option: B

using SORT statement, sorting can be done on any no of keys

  1. True

  2. False


Correct Option: A

SEARCH ALL can only be applied to sorted tables??

  1. True

  2. False


Correct Option: A
Explanation:

To answer this question, the user needs to know what the SEARCH ALL operation does and if it requires sorted tables.

The SEARCH ALL operation is used to find a specific record in a table that matches a given key value. It starts searching from the beginning of the table and stops when it finds the first matching record. If the table is not sorted, the search operation will have to check every record in the table, which can be slow and inefficient.

Therefore, the correct answer is:

The Answer is: A. True.

SEARCH ALL can only be applied to sorted tables for efficient search operations.

Select the correct edited value in field with: Picture ZZZ9V99DB VALUEE MOVED IS -152^25 B IN OPTIONS STANDS FOR SPACE

  1. B15225DB

  2. 15225DB

  3. 15225CR

  4. B15225CR


Correct Option: A

EXIT is a no operation statement and when encountered, no action is taken.

  1. True

  2. False


Correct Option: A

What is a physical map? a. Data Structure b. Load Module c. Copybook d. None

  1. A

  2. B

  3. C

  4. D


Correct Option: B

What is the working storage fields used for every field on the map? a. Length b. Input/Output field c. Attribute d. All of the above

  1. A

  2. B

  3. C

  4. D


Correct Option: D

Parameter to generate the symbolic map a. DSECT b. FSET c. MDT d. MDI

  1. A

  2. B

  3. C

  4. D


Correct Option: A

Name the macros used to define MAP, MAPSET and FIELD a. MAP - DFHMDI MAPSET - DFHMSD FIELD - DFHMDF b. MAP - DFHMSD MAPSET - DFHMDF FIELD - DFHMDI c. MAP - DFHMSD MAPSET - DFHMDI FIELD - DFHMDF d. MAP - DFHMDF MAPSET - DFHMDI FIELD – DFHMSD

  1. A

  2. B

  3. C

  4. D


Correct Option: A

In which table would you make an entry for a BMS map? a. RCT b. PCT c. PPT d. FCT

  1. A

  2. B

  3. C

  4. D


Correct Option: C

Command to create a new copy a. CECI SET b. CEMT SET c. CEDF SET d. none

  1. A

  2. B

  3. C

  4. D


Correct Option: B
- Hide questions