0

mainframe Online Quiz - 47

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

FILE-STATUS is used to

  1. Check the logical abnormal conditions.

  2. Check the existence of a file while open, close etc.

  3. Check the execution of the program.

  4. None of the above.


Correct Option: B

All the divisions should be start from

  1. Area A

  2. Area B

  3. Area C

  4. Area D


Correct Option: A

How many different level numbers can be used in COBOL to describe a record?

  1. 01-1000

  2. 01-100

  3. 01-49

  4. 01-50


Correct Option: C

What is a VALUE clause?

  1. It specifies the initial contents of a data item or the values associated with a condition-name.

  2. It specifies the data item location.

  3. It describes the picture clause.

  4. All of the above


Correct Option: A

Binary format can hold --- binary digits in one byte.

  1. 2

  2. 4

  3. 6

  4. 8


Correct Option: D

After successful execution of ADD instruction below. A R1, Data1 Where Data1 DC X’85’ and R1 = 2 What is the result?

  1. R1 will hold 2 and condition code is set to 0

  2. R1 will hold 87, Data1 will hold 85 and condition code is set to 2.

  3. Data1 will hold 87, R1 will hold 2 and condition code is set to 2.

  4. None of the above


Correct Option: C

Pick the correct execution statement for BAS instruction.

  1. The address of the next sequential instruction (NSI) is placed in the 1st-operand register. Subsequently a branch is made to the location given by a 2nd-operand label.

  2. The address of the next sequential instruction (NSI) is placed in the 2nd-operand register. Subsequently a branch is made to the location given by a 1st-operand label.

  3. BAS instruction is not there in Assembler

  4. None of the above


Correct Option: A

For Instruction BCTR R2 = 8 A1 = ADDR1 BC R2,A1 - - - ADDR1: MVC A,B - - -Which of the following is true?

  1. ADDR1 will execute until R2 becomes 0.

  2. ADDR1 will execute until R2 becomes 8.

  3. ADDR1 will never be executed.

  4. All of the above.


Correct Option: A

Which of the following is true for Compare instruction in assembler?

  1. The data of the 1st-operand register is compared with the data of the 2nd-operand field. The result of the comparison is indicated in the condition code which may be checked further.

  2. The data of the 1st-operand register is compared with the data of the 2nd-operand field. The result of the comparison is indicated in the condition code which will not be checked further.

  3. The data of the 1st-operand register is compared with the data of the 2nd-operand field. Condition codes are not at all checked.

  4. None of the above.


Correct Option: A

How the quotient and remainder get stored in registers after successful execution of Divide instruction of Assembler

  1. The quotient is placed in the 1st-operand odd-register and the remainder in the even-register.

  2. The remainder is placed in the 1st-operand odd-register and the quotient in the even-register.

  3. Both are stored in even register.

  4. Both are stored in odd register


Correct Option: A

Which of the following Instructions is used to define a Constant in Assembler?

  1. DS

  2. DC

  3. No such instruction exists.

  4. Both 1 and 2


Correct Option: A

If name of gdg is MYFILE.LIB.TEST then what is the corresponding GDG dataset name that are derived from GDG?

  1. MYFILE.LIB.TEST.G001

  2. MYFILE.LIB.TEST.G0001V00

  3. MYFILE.LIB.TEST1

  4. WE CANNOT DETERMINE


Correct Option: B

How many generations are allowed for a GDG?

  1. 0 to 9

  2. 0 to 5

  3. 000 to 999

  4. 0000 to 9999


Correct Option: D

GDG will delete\uncatolog older generation automatically?

  1. True

  2. False


Correct Option: A

The advantages of GDG are.....

  1. It will maintain all generation of data sets

  2. It will catalog older generation files

  3. No need of change the JCL every time when we submit.

  4. None of these


Correct Option: A,C

In creation of GDG Index we use LIMIT parameter

  1. True

  2. False


Correct Option: A

NOEMPTY parameter specifies that all exisiting generationsof the GDG are to be uncatloged?

  1. True

  2. False


Correct Option: B

which utility we have to use to delete the generation of a GDG?

  1. IDCAMS

  2. IEFBR14

  3. IEBGENER

  4. IEBCOPY


Correct Option: B
- Hide questions