Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 16

IDCAMS

And VITRUAL STORAGE ACCESS METHODS VSAM

VSAM Files
One Access method - three types of files ESDS - Entry-sequential data set
Stored one after another ORGANIZATION IS SEQUENTIAL ACCESS clause - default

VSAM FILES
KSDS - Keysequential data set
Access
Random Sequentially Dynamically

Index component
Relates a key value to physical location of record

Data component

ORGANIZATION IS INDEXED ACCESS clause required

VSAM FILES
RRDS - Relative record data set
No overhead of Index component Records are logically numbered
Starting at 1

May have empty records within the file ORGANIZATION IS SEQUENTIAL ACCESS
Random Sequential Dynamic

VSAM
CLUSTER - VSAM file Must be defined before use High level qualifier is userid Defining a cluster
a3c#krg.sales

Data set with the cluster


a3c#krg.sales.data

Data Set Utility 3.2

VSAM Utility 3.2

VSAM Utility Screen 1 ESDS

VSAM Utility Screen 2 ESDS

VSAM Utility Screen 3 ESDS

VSAM Utility Screen 4 ESDS

IDCAMS
Access Method Services
IDC comes form prefix of error messages JCL Samples SAMP1 and SAMP2

USE JCL
Printing Copying

COPYING TSO - ESDS

COPYING TSO - ESDS

PRINTING VSAM Datasets

PRINTING Dataset

You might also like