Tag: mainframe

Questions Related to mainframe

  1. EXPDT=yyddd

  2. EXPDT=yy/ddd

  3. EXPDT=yyyyddd

  4. EXPDT=yyyy/ddd


Correct Option: A,D
  1. EXPDT=1996033

  2. EXPDT=1996/0202

  3. EXPDT=1996/033

  4. EXPDT=033/1996


Correct Option: C
  1. LRECL = 0 can be valid when RECFM = F

  2. LRECL=nnnnnK syntax can be valid

  3. LRECL can not be used with VSAM Files

  4. LRECL must not exceed BLKSIZE minus 4 when RECFM=VS


Correct Option: B,D

Which statement(s) is/are true for LRECL

  1. LRECL=0 is valid only for RECFM=F.

  2. LRECL must not exceed BLKSIZE minus 4 for RECFM=V

  3. LRECL can not exceed BLKSIZE when RECFM=VS

  4. LRECL=nnnnnK syntax is valid.


Correct Option: B,D
  1. Sum up value in the fields specified in the SORT FIELDS statement and keep it as only one occurence in the o/p

  2. Removes the duplicates for the fields specified in the SORT FIELDS statement and keeps only the 1st occurence of it

  3. Works only for those records in the i/p file where no duplicates for the fields specified in SORT FIELDS statement,

  4. None of the above


Correct Option: B