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
  1. Using DROP

  2. Using INITIALIZE

  3. Using DELETE

  4. Cant un-assign a variable


Correct Option: A
  1. Read the stack and have a counter value

  2. Using STACK.0

  3. Using STACK.MAX

  4. Usinf MAX function


Correct Option: B