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
Questions
Records can be browsed based with the selection criteria?
- True
- False
Function used to find the record count through file aid?
- TALLY
- COUNT
- TOTAL
- AVERAGE
GDG’s can be created through file aid?
- True
- False
Command used to display specific fields at the time of browsing the records
- DISPLAY
- HOLD
- VIEW
- BROWSE
File Aid option can be processed in batch mode?
- True
- False
XREF option applicable in vertical mode?
- True
- False
Maxmium how many Data sets can be concatenated in sequential concatenation?
- 3273
- maximum size of the TIOT option
- 64
- 99
How to notify multiple people in a job?
- NOTIFY=&USERID1,&USERID2
- NOTIFY=&USDERID1,NOTIFY=&UNSERID2
- Using IKJEFT01
- not possible
what is the snytax to conver UPPER CASE to Lower case in JCL using SORT?
- OUTREC FIELDS=(1:1,10,TRAN=UTOL)
- OUTREC FIELDS=(1:1,10,TRAN=LTOL)
- OUTREC FIELDS=(1:1,10,TRAN=UPPER)
- OUTREC FIELDS=(1:1,10,TRAN=LOWER)
What does TIME=1440 mean on a job card?
- CPU time is 1440
- Run time is 1440
- no cpu limit for the job
- give S322 abend after 1440 cpu time
Which option of the ISPF Primary Option Menu helps you to allocate datasets?
- 3.1
- 3.2
- 3.4
- 3.3
Which function key helps you to split the screen?
- F3
- F2
- F1
- F6
What is the syntax to find actual lenght of a record in a variable file in Cobol?
- Not possible
- Using RECORD SIZE def in FD seciton
- RECORD IS DEPENDING ON BATCH-RECORD-SIZE where BATCH-RECORD-SIZE is 77 working storage varaible
- RECORD is varying depending on BATCH-RECORD-SIZE wher BACTCH-RECORD-SIZE is 77 working storage varibale
How to retrive Current DATE in YYMMDD format
- ACCEPT WS-DATE FROM DATE
- ACCEPT WS-DATE FROM DATE YYYYMMDD
- ACCEPT WS-DATE FROM DATE YYMMDD
- none of the above
What is the command to make the Mainframe screen display the bar listing screens which a user can switch to??
- Exchbar
- Swapbar
- Listbar
- Snapbar
What is the tool used for edit copy of a file or compare of two files?
- FileAid
- FileHelp
- FileFormat
- FileEdit
Which of the following is not a type of VSAM?
- KSDS
- ESDS
- RSDS
- LDS
Which of the following commands in SORT Utility can be used for removing duplicate records in a file?
- SUM FIELDS
- REMOVEREC
- OUTREC
- INREC
Is it possible to read and write the same file in COBOL?
- True
- False
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?
- 26
- 27
- 28
- 29