0

mainframe Online Quiz - 92

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

Expand RCT

  1. Request control table

  2. Resource control table

  3. Request control transaction

  4. Region control table


Correct Option: B

Expand JCT

  1. job control table

  2. job control time

  3. Journal control table

  4. Joournal control time


Correct Option: C

Expand DCT

  1. Data coverage table

  2. Destination coverage table

  3. Destination control table

  4. Data control table


Correct Option: C

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 BBBB 13 3456 CCCC 25 4567 DDDD 15 5678 EEEE 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1235' THRu '3457' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * SUPER-ID-NAME-AGE comprises of all the above three fields in the mentioned order

  1. 0

  2. 1

  3. 2

  4. 3


Correct Option: C

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE (Assume all fields are null suppressed) ----------------------------- 1234 AAAA 23 2345 bbbb 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * small case bbbb stands for space

  1. 3

  2. 4

  3. 5

  4. Program wil terminate abnormally


Correct Option: B

An ADABAS database can be mapped with more than one DDM

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, you need to understand the concepts of ADABAS and DDM.

ADABAS is a high-performance database management system commonly used for transactional processing. It stores data in a hierarchical structure and provides fast access and retrieval capabilities.

A Data Definition Module (DDM) is used to define the structure and characteristics of the data stored in an ADABAS database. It specifies the fields, record layouts, and relationships between records.

Now, let's go through each option to understand why it is correct or incorrect:

Option A) True - This option is correct. An ADABAS database can indeed be mapped with more than one DDM. Multiple DDMs can be used to define different views or structures for the same underlying data in the ADABAS database. This allows different applications or users to access the data in different ways without changing the actual data storage.

Option B) False - This option is incorrect. As explained above, an ADABAS database can be mapped with more than one DDM.

The correct answer is A) True. This option is correct because an ADABAS database can indeed be mapped with more than one DDM.

Assume an adabas database has been mapped with DDMS. viz IDENTIFICATION-TABLE & IDENTIFICATION-TABLE-EXP The difference between two DDMS is IDENTIFICATION-TABLE-EXP created with IDENT-NAME as (A6) whereas IDENTIFICATION-TABLE with (A4). A batch program is updating the database with IDENTIFICATION-TABLE-EXP. Values are as below. IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAAbb 23 2345 ACDBCD 13 3456 ADSBbb 25 4567 DADSbb 15 5678 EDSCbb 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many records will be displayed in the output? * small case b stands for space

  1. 5

  2. 4

  3. 3

  4. 1

  5. Program will terminate abnormally


Correct Option: E

DEFINE DATA LOCAL 01 IDENT VIEW OF IDENTIFICATION-TABLE 02 IDENT-NAME 02 IDENT-ID 02 IDENT-AGE 02 SUPER-ID-NAME-AGE END-DEFINE MOVE 1111 TO IDENT-ID MOVE 'ABCD' TO IDENT-NAME MOVE 23 TO IDENT-AGE STORE IDENT IN RECORD END What is the output of above program?

  1. Records will be stored successfully

  2. Program will run but records will not be stored

  3. Program will terminate abnormally

  4. Program will not allow to create an executable object


Correct Option: D

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 1234 ABCD 22 2345 ACDB 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 FIND IDENTIFICATION-TABLE WITH IDENT-ID EQ '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many records will be displayed?

  1. 0

  2. 1

  3. 2

  4. 3


Correct Option: C

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 1234 ABCD 22 2345 ACDB 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 FIND IDENTIFICATION-TABLE WITH IDENT-ID EQ '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP The above FIND loop will end with two records. In which order, the records are displayed in the output?

  1. ISN ascending

  2. ISN descending

  3. How records are stored physically

  4. RABN order


Correct Option: A

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 BBBB 13 3456 CCCC 25 4567 DDDD 15 5678 EEEE 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1235' THRu '3457' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * SUPER-ID-NAME-AGE comprises of all the above three fields in the mentioned order

  1. 0

  2. 1

  3. 2

  4. 3


Correct Option: C

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 ACDB 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 READ IDENTIFICATION-TABLE BY SUPER-NAME-ID-AGE STARTING FROM 'A' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * SUPER-NAME-ID-AGE comprises fields IDENT-NAME, IDENT-ID, & IDENT-AGE in the mentioned order.

  1. 3

  2. 4

  3. 5

  4. Program will terminate abnormally


Correct Option: C

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE (Assume all fields are null suppressed)-----------------------------1234 AAAA 232345 bbbb 133456 ADSB 254567 DADS 155678 EDSC 20READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGELOOPHow many number of records will be displayed in the output?* bbbb stands for no value in that field

  1. 3

  2. 4

  3. 5

  4. Program will terminate abnormally


Correct Option: B

An ADABAS database can be mapped with more than one DDM

  1. True

  2. False


Correct Option: A

Assume an adabas database has been mapped with DDMS. viz IDENTIFICATION-TABLE & IDENTIFICATION-TABLE-EXP The difference between two DDMS is IDENTIFICATION-TABLE-EXP created with IDENT-NAME as (A6) whereas IDENTIFICATION-TABLE with (A4). A batch program is updating the database with IDENTIFICATION-TABLE-EXP. Values are as below. IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAAbb 23 2345 ACDBCD 13 3456 ADSBbb 25 4567 DADSbb 15 5678 EDSCbb 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1234' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many records will be displayed in the output? * small letter b stands for space

  1. 5

  2. 4

  3. 3

  4. 1

  5. Program will terminate abnormally


Correct Option: E

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 ACDB 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 READ IDENTIFICATION-TABLE BY SUPER-NAME-ID-AGE STARTING FROM 'A' THRU 'D' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP WRITE IDENT-ID IDENT-NAME IDENT-AGE What is the value of final record displayed?

  1. 2345 ACDB 13

  2. 3456 ADSB 25

  3. 4567 DADS 15

  4. 5678 EDSC 20


Correct Option: D

DEFINE DATA LOCAL 01 IDENT VIEW OF IDENTIFICATION-TABLE 02 IDENT-NAME 02 IDENT-ID 02 IDENT-AGE 02 SUPER-ID-NAME-AGE END-DEFINE MOVE 1111 TO IDENT-ID MOVE 'ABCD' TO IDENT-NAME MOVE 23 TO IDENT-AGE STORE IDENT IN RECORD END What is the output of above program?

  1. Records will be stored successfully

  2. Program will run but records will not be stored

  3. Program will terminate abnormally

  4. Program will not allow to create an executable object


Correct Option: D
- Hide questions