0

mainframe Online Quiz - 140

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

Which variable will have the value returned by a subroutine once it completes?

  1. RC

  2. RETVAL

  3. RESULT

  4. RV


Correct Option: C

Which of the following can be used to read and write from a file? Choose all that apply

  1. DATA STACK

  2. QUEUE

  3. COMPOUND VARIABLE

  4. SYMBOLIC VARIABLE


Correct Option: A

Which instruction is used to control the environment to which commands are passed?

  1. LIBDEF

  2. ALLOC

  3. EXECIO

  4. ADDRESS


Correct Option: D

What is the use of PROCEDURE instruction?

  1. Subroutine should start with this instruction

  2. To convert all the local variables in the subroutine as global variables

  3. To convert all the variables used in subroutine as local variables

  4. Function should start with this instrucion


Correct Option: A

" What will be value in W1 and W2 after the execution of command PARSE VALUE ‘To be, or Not to be’ WITH w1 ',' w2 "

  1. W1 = To be W2 = or Not to be

  2. W1 = W2 = be, or Not to be

  3. W1 = W2

  4. W1 NOT= W2


Correct Option: A

Which program support to run REXX in batch environment?

  1. IRXJCL

  2. IKJEFT01

  3. IKJEFT1B

  4. IREXJCL


Correct Option: A,B,C

IF "HI" = "hi" THEN SAY "YES" ELSE SAY "NO" Result : YES

  1. True

  2. False


Correct Option: B

Commands you can enter after interrupting the execution of your exec?

  1. HI

  2. TS

  3. HT

  4. RT

  5. TE


Correct Option: A,B,C,D,E

Select the Valid label name for SIGNAL ON instruction?

  1. SYNTAX

  2. ERROR

  3. NOVALUE

  4. READY


Correct Option: A,B,C

What does Rexx stand for?

  1. Reactive Enforcement Execution Exchange language

  2. Reactived Extendable Exchange language

  3. Restructured Extended Executor language

  4. None of the above


Correct Option: C

What is COMP-2?

  1. COMP-2 - Single precision floating point. Uses 4 bytes.

  2. COMP-2 - Double precision floating point. Uses 8 bytes.

  3. COMP-2 - Single precision floating point. Uses 8 bytes.

  4. COMP-2 - Double precision floating point. Uses 4 bytes.


Correct Option: C

How many sections are there in Data Division?

  1. Six

  2. Seven

  3. Four

  4. Three


Correct Option: A

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND

  1. INDEXED

  2. RELATIVE

  3. SEQUENTIAL

  4. All of the above


Correct Option: D

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

  1. 7

  2. 6

  3. 5

  4. 4


Correct Option: A

X(100) field can be redefined with a field of X(200)?(True/False)

  1. True

  2. False


Correct Option: B

How is sign stored in Packed Decimal fields?

  1. Sign is stored as a hex value in the last nibble of the storage.

  2. Sign is over punched with the numeric value stored in the last nibble.

  3. Sign is stored in the most significant bit.

  4. None of the above


Correct Option: A

How many bytes does a S9(7) COMP-3 field occupy ?

  1. 7 bytes

  2. 6 bytes

  3. 5 bytes

  4. 4 bytes


Correct Option: D

Which of the following is False?

  1. Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the array.

  2. An index can only be modified using PERFORM, SEARCH & SET.

  3. Need to have index for a table in order to use SEARCH, SEARCH ALL.

  4. None of the above


Correct Option: D
  1. In COBOL , the File format : ORGANISATION IS SEQUENTIAL RECORDING MODE IS F BLOCK CONTAINS 0 . Is used to reference which file ?
  1. Fixed Block file

  2. Fixed Unblock file

  3. Variable Block file

  4. Variable Unblock file


Correct Option: A

Level 66 used for?

  1. For Renames Clause

  2. For Condition Names

  3. Elementary level item. Cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves.

  4. All of the above


Correct Option: A
- Hide questions