Tag: mainframe

Questions Related to mainframe

  1. PIC X(8), PIC X(8), PIC X(26)

  2. PIC X(12), PIC X(8), PIC X(28)

  3. PIC X(10), PIC X(8), PIC X(26)

  4. None of the above


Correct Option: C
  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: A
  1. Dsname, SPACE, UNIT

  2. Dsname, SPACE, RECFM

  3. Dsname, DISP, DCB, SPACE

  4. All parameters & Keywords are optional


Correct Option: D
  1. By using the NUMREC(data-area) option with the generic key.

  2. By using the NUMB(data-area) option with the generic key.

  3. By using the NUMBER(data-area) option with the generic key.

  4. None of the above


Correct Option: A
  1. Read one record from INDD and store in in SRCLINE stack.

  2. Read all the records from INDD and store in in SRCLINE stack.

  3. Write one record from INDD and store in in SRCLINE stack.

  4. Write all the records from INDD and store in in SRCLINE stack.


Correct Option: B
  1. Always returns a value.

  2. Never returns a value.

  3. Returns when RC is coded

  4. I am skipping this!!


Correct Option: C

What will pass through the remaining part of the instructions in a “DO” loop without executing the “DO”’s.

  1. DO UNTIL

  2. DO WHILE

  3. ITERATE

  4. Wrong question!


Correct Option: C

How will you un-assign a variable which is used in the same REXX exec?

  1. Using DROP

  2. Using INITIALIZE

  3. Using DELETE

  4. Cant un-assign a variable


Correct Option: A

How will you find out the maximum number of elements present in a stack?

  1. Read the stack and have a counter value

  2. Using STACK.0

  3. Using STACK.MAX

  4. Usinf MAX function


Correct Option: B

TIME along with what option will give time in sssssssss.mmmmmm?

  1. TIME()

  2. TIME(E)

  3. TIME(L)

  4. TIME(M)


Correct Option: B