Mainframe Essentials: COBOL, JCL, ISPF, and VSAM

Test your knowledge of mainframe computing including COBOL programming, JCL job control, ISPF interface, VSAM file systems, and FileAid utilities

20 Questions Published

Questions

Question 1 True/False

Records can be browsed based with the selection criteria?

  1. True
  2. False
Question 2 Multiple Choice (Single Answer)

Function used to find the record count through file aid?

  1. TALLY
  2. COUNT
  3. TOTAL
  4. AVERAGE
Question 3 True/False

GDG’s can be created through file aid?

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

Command used to display specific fields at the time of browsing the records

  1. DISPLAY
  2. HOLD
  3. VIEW
  4. BROWSE
Question 5 True/False

File Aid option can be processed in batch mode?

  1. True
  2. False
Question 6 True/False

XREF option applicable in vertical mode?

  1. True
  2. False
Question 7 Multiple Choice (Single Answer)

Maxmium how many Data sets can be concatenated in sequential concatenation?

  1. 3273
  2. maximum size of the TIOT option
  3. 64
  4. 99
Question 8 Multiple Choice (Single Answer)

How to notify multiple people in a job?

  1. NOTIFY=&USERID1,&USERID2
  2. NOTIFY=&USDERID1,NOTIFY=&UNSERID2
  3. Using IKJEFT01
  4. not possible
Question 9 Multiple Choice (Single Answer)

what is the snytax to conver UPPER CASE to Lower case in JCL using SORT?

  1. OUTREC FIELDS=(1:1,10,TRAN=UTOL)
  2. OUTREC FIELDS=(1:1,10,TRAN=LTOL)
  3. OUTREC FIELDS=(1:1,10,TRAN=UPPER)
  4. OUTREC FIELDS=(1:1,10,TRAN=LOWER)
Question 10 Multiple Choice (Single Answer)

What does TIME=1440 mean on a job card?

  1. CPU time is 1440
  2. Run time is 1440
  3. no cpu limit for the job
  4. give S322 abend after 1440 cpu time
Question 11 Multiple Choice (Single Answer)

Which option of the ISPF Primary Option Menu helps you to allocate datasets?

  1. 3.1
  2. 3.2
  3. 3.4
  4. 3.3
Question 12 Multiple Choice (Single Answer)

Which function key helps you to split the screen?

  1. F3
  2. F2
  3. F1
  4. F6
Question 13 Multiple Choice (Single Answer)

What is the syntax to find actual lenght of a record in a variable file in Cobol?

  1. Not possible
  2. Using RECORD SIZE def in FD seciton
  3. RECORD IS DEPENDING ON BATCH-RECORD-SIZE where BATCH-RECORD-SIZE is 77 working storage varaible
  4. RECORD is varying depending on BATCH-RECORD-SIZE wher BACTCH-RECORD-SIZE is 77 working storage varibale
Question 14 Multiple Choice (Single Answer)

How to retrive Current DATE in YYMMDD format

  1. ACCEPT WS-DATE FROM DATE
  2. ACCEPT WS-DATE FROM DATE YYYYMMDD
  3. ACCEPT WS-DATE FROM DATE YYMMDD
  4. none of the above
Question 15 Multiple Choice (Single Answer)

What is the command to make the Mainframe screen display the bar listing screens which a user can switch to??

  1. Exchbar
  2. Swapbar
  3. Listbar
  4. Snapbar
Question 16 Multiple Choice (Single Answer)

What is the tool used for edit copy of a file or compare of two files?

  1. FileAid
  2. FileHelp
  3. FileFormat
  4. FileEdit
Question 17 Multiple Choice (Single Answer)

Which of the following is not a type of VSAM?

  1. KSDS
  2. ESDS
  3. RSDS
  4. LDS
Question 18 Multiple Choice (Single Answer)

Which of the following commands in SORT Utility can be used for removing duplicate records in a file?

  1. SUM FIELDS
  2. REMOVEREC
  3. OUTREC
  4. INREC
Question 19 True/False

Is it possible to read and write the same file in COBOL?

  1. True
  2. False
Question 20 Multiple Choice (Single Answer)

If there is a record of length 25 and i have to create a Variable Block file to store the record what must be the record length to be given in LRECL statement?

  1. 26
  2. 27
  3. 28
  4. 29