Tag: mainframe

Questions Related to mainframe

  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
  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
  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
  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
  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
  1. MYFILE.LIB.TEST.G001

  2. MYFILE.LIB.TEST.G0001V00

  3. MYFILE.LIB.TEST1

  4. WE CANNOT DETERMINE


Correct Option: B