COBOL Exam Flashcards
Which utility is used to sort files?
DFSORT
What 3 things do you specify for DFSORT?
- File to be sorted (SORTIN)
- File for the output (SORTOUT)
- Specify fields to sort (SORT FIELDS)
What 4 criteria are specified for the sort fields in DFSORT?
- Start Position
- Length of field
- Type of data (CH)
- Ascending/Descending
Which type of files were the predecessors to relational databases?
Indexed Files
What is VSAM?
Virtual Storage Access Method
What 3 types of files are created in VSAM?
- ESDS (Sequential)
- RRDS (Relative Record Data Set)
- KSDS (Key Sequenced Data Set)
What is another word for a data set in VSAM?
Cluster
What are the 2 components of a KSDS?
- Data
- Index
What is a control interval?
Unit of data that VSAM transfers between disc storage and virtual storage
How many records are stored in one control interval?
1 or more
What are control intervals stored in?
Control Areas
What is AMS?
Access Method Services
What is the continuation character in JCL?
’ - ‘
What keyword is used for COBOL’s version of a SWITCH statement?
EVALUATE
When doing a READ, what is file status 23?
Invalid key condition