Previous Topic: VSAM Naming Conventions—z/VSENext Topic: Format for SAM File Names


Format for VSAM File Names

Use the following format to name a VSAM file:

file-id,V[,catalog-id]

The following list describes the parts of a VSAM file name:

file-id

Specifies the name given to the data set when it was defined using IDCAMS by including the following line in the JCL:

DEFINE CLUSTER (NAME   (file-id)...
V

Indicates that this is a VSAM file.

catalog-id

Optional.

The name of the user catalog that owns the VSAM data set as defined using IDCAMS by including the following line in the JCL:

DEFINE USERCATALOG (NAME (catalog-id)...

Leave this field blank if the data set is owned by the master catalog.