Practice Question and Answer
8Q: What is the meaning of VSAM RETURN-CODE 28? 1584 05b5cc7d8e4d2b41977751548
5b5cc7d8e4d2b41977751548- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Out of space condition is raised.
Q: During processing of a VSAM file, some system error occurs and it is subsequently unusable What do you do? 1636 05b5cc7d8e4d2b41977751547
5b5cc7d8e4d2b41977751547- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Run VERIFY.
Q: Name some common VSAM error conditions and codes? 1719 05b5cc7d8e4d2b41977751546
5b5cc7d8e4d2b41977751546- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
End of file (10) Duplicate key (22) Record not found (23) VSAM logic error (90) Open problem (92) Space problem (93)
Q: Assuming that the DEFINE JCL is not available, how do you get info about a VSAM files organisation? 1426 05b5cc7d8e4d2b41977751545
5b5cc7d8e4d2b41977751545- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Use the LISTCAT command.
Q: What is a VSAM slot? 1181 05b5cc7d8e4d2b41977751544
5b5cc7d8e4d2b41977751544- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
A relative record dataset (RRDS) consists of a specified number of areas called slots. Each slot is identified by a relative record number (RRN) which indicates its relative position in the file.
Q: How do you fix the problem associated with VSAM out of space condition? 1098 05b5cc7d8e4d2b41977751543
5b5cc7d8e4d2b41977751543- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Define new VSAM dataset allocated with more space. Use IDCAMS to REPRO the old VSAM file to new VSAM dataset. Use IDCAMS to ALTER / RENAME the old VSAM dataset to DELETE the old VSAM datset. Use IDCAMS to ALTER / RENAME the new VSAM dataset to the name of the original VSAM dataset.
Q: What are the three levels of definition for the VSAM DEFINE? 1174 05b5cc7d8e4d2b41977751542
5b5cc7d8e4d2b41977751542- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
They are DEFINE CLUSTER, DATA and INDEX.
Q: What are the different types of VSAM files available? 1799 05b5cc7d8e4d2b41977751541
5b5cc7d8e4d2b41977751541- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
ESDS: Entry Sequence Data Set KSDS: Key Sequence Data Set RRDS: Relative Data Set

