I am just giving my stack on VSAM, since VSAm is extensively being used in CICS. It is popular access method. All database DB2/IMSDB underlying datasets are still VSAM.
1.Main difference between KSDS and ESDS?
KSDS record can be accessed by primary key. ESDS record can be accessed randomly with displacement address(RBA)
2.What is AMS in VSAM?
AMS stands for access method services. It is used to create and maintain datasets
3.What is SHAREOPTIONS?
It states how the file will be shared between jobs, batch and CICS
4.What is //Trans DD Dummy, AMP=’AMORG’?
This refers to vsam dataset
5.DD name for ESDS must be prefixed with “AS-“?
//AS-TRANS DD DSN=xyz
6.Why ESDS used in CICS?
ESDS extensively used in online CICS. Since CICS can get access to record through “RBA”
7.Do we need to use ESDS as GDG?
ESDS can not be used as GDG.
8.What is default?
Indexed- KSDS, Nonindexed-ESDS, Numbered-RRDS. Out of these “Indexed ” is default parameter.
9.What is CA/CI level split?
CA/CI level spilts causes performance degradation. If splits are more it causes more I/O, and reduce the performance.
10.What is verify?
Verify command close the file correctly. Sample code
//SYSIN DD *
PRINT INDATASET(SYS1.VVDS.V339000) DUMP
ALTER DFP1.JIMONE.KSDS.DATA UNINHIBIT
ALTER DFP1.JIMONE.KSDS.INDEX UNINHIBIT
LISTC ENT(DFP1.JIMONE.KSDS) ALL
Bye… wait for my next stack on VSAM.
Comments are closed.