Professional Documents
Culture Documents
Mar 25 Vsam
Mar 25 Vsam
Advantages of VSAM
• One method to support all types of data retrieval (SEQ,RANDOM,DYNAMIC)
• One utility, IDCAMS, to manage everything
• Supports alternate index
Duplicate data cannot be stored
Dat a is sorted automatically
• Portable across systems (between cics and tso)
Disadvantages of VSAM
• Require lot of DASD space
• Only resides on DISK
ESDS Very similar to seq file – why do we need this? Cross system ex: CICS
ESDS file stores duplicate data and data not in sorted order
KEY -- KSDS
RBA -- ESDS
RRN -- RRDS
Data 8 recs
*************************
1001NAME1ADDR110000
1002NAME1ADDR110000
1003NAME2ADDR211000
1004NAME2ADDR211000
1005NAME2ADDR211000
1006NAME2ADDR211000
1007NAME2ADDR211000
1008NAME2ADDR211000
VSAM -> CREATE -> JCL OR TOOL (FILE-AID, FILE MANAGER, DITTO)
COBOL + VSAM
COBOL + VSAM + CICS