0

mainframe Online Quiz - 106

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

When an I/O error occurred during data base access it returns

  1. AJ

  2. AI

  3. AO

  4. AM


Correct Option: C

When it reaches the end of the data base it returns

  1. GB

  2. AJ

  3. AI

  4. AM


Correct Option: A

The function calls used for reposition the dataset at the time of restart are

  1. XRST and INIT

  2. CHKP and INIT

  3. CHKP and XRST

  4. RST and INIT


Correct Option: C

What is the DISPOSITION of a dataset if the DISP field is not coded in the JCL?

  1. (NEW,CATLG,CATLG)

  2. (NEW,DELETE,DELETE)

  3. (NEW,CATLG,DELETE)

  4. (OLD,CATLG,UNCATLG)


Correct Option: B

What are the maximum number of steps that can be coded in a JCL?

  1. 255

  2. 16

  3. 256

  4. No limit


Correct Option: A

Sqlcode -911 means

  1. Timestamp mismatch

  2. Authorization failure

  3. Deadlock, rollback done

  4. Deadlock or time-out


Correct Option: C

Which of the following is a psuedo-converstaion command in CICS?

  1. START

  2. LINK

  3. RETURN

  4. GETMAIN


Correct Option: C

Which of the following USAGE CLAUSE cannot contain a PIC clause while declaration

  1. COMP-1

  2. COMP

  3. COMP-3

  4. DISPLAY


Correct Option: A

FSET sets the MDT value to?

  1. 1

  2. -1

  3. 0

  4. random value


Correct Option: A

Which of the following is not a type of Queue?

  1. Local Queue

  2. Initiation Queue

  3. Transmission Queue

  4. Channel Queue


Correct Option: D

ATI stands for?

  1. Automatic Transaction Initiation

  2. Automatic Task Initiation

  3. Automatic Transaction Identifier

  4. Automatic Task Identifier


Correct Option: B

Image copy cannot be done for which of the below object?

  1. Database

  2. Tablespace

  3. Index

  4. View


Correct Option: D

How many bytes will a S9(8) COMP field occupy?

  1. 2

  2. 4

  3. 8

  4. 16


Correct Option: A

How many subscripts or indexes are allowed for an OCCURS clause?

  1. 4

  2. 5

  3. 6

  4. 7


Correct Option: A

01 WS-TOP PIC X(1) 01 WS-TOP-RED REDEFINES WS-TOP PIC X(2). If you MOVE "12" to WS-TOP-RED, DISPLAY WS-TOP will show

  1. 12

  2. 1

  3. 2

  4. 121


Correct Option: C

Indicate which of the following is true about the 88 level entry.

  1. It is used for individual data item in working-storage section.

  2. It is used for items with rename clause

  3. It is used for a data item which redefines another data item.

  4. It is used for a condition name which can have either a true or false


Correct Option: D

IF A = 1 OR 2 OR 3 NEXT SENTENCE ELSE MOVE A TO B. Which of the following describes the above sentence correctly.

  1. IF A NOT = 1 OR 2 OR 3 MOVE A TO B.

  2. IF NOT A = 1 AND 2 AND 3 MOVE A TO B.

  3. IF A NOT = 1 AND 2 AND 3 MOVE A TO B.

  4. IF A NOT = 1 OR A NOT = 2 OR A NOT = 3 MOVE A TO B.


Correct Option: C

Determine the total number of bytes in the following 01 REC-1. 02 FIRST-GROUP. 03 A1 PIC X(4). 03 A2 PIC 99. 02 REDEFINES FIRST-GROUP. 03 A3 PIC 999. 03 A4 PIC 999. 02 THIRD-GROUP. 03 A5 OCCURS 5 TIMES PIC 99.

  1. 22

  2. 16

  3. 12

  4. 14


Correct Option: B

What is level 66 used for?

  1. Redefines Clause

  2. Renames Clause

  3. Elementary Level Items

  4. Condition Names.


Correct Option: B

What are the different data types available in COBOL?

  1. Alpha-numeric (X), alphabetic (A) and numeric(9).

  2. Alpha-numeric (X) and numeric(9).

  3. Alpha-numeric (X), alphabetic (A), String (S) and numeric(9)

  4. None of the above


Correct Option: A
- Hide questions