Previous Topic: VSAM Allocation Protection Access RulesNext Topic: Protecting VSAM Dataspaces


VSAM Allocation Considerations

Data set names VSAM generates and related VSAM dataspaces can require special considerations for allocation processing. For this reason, we recommend you name both the data and index portions of the VSAM cluster with additional data set name qualifiers of DATA and INDEX, respectively.

Cluster‑name

A.B.C

Data‑name

A.B.C.DATA

Index‑name

A.B.C.INDEX

For read or write access of a VSAM cluster, authorization is required only for the cluster name. Normal data set name access rules are sufficient for normal user processing. For allocate access, authorization is also required for the data and index names. In the following example, user TLCAMS can read and write to the cluster and user TLCPJM can define, delete, and alter the cluster:

$KEY(A)
 B.C UID(TLCAMS) READ(A) WRITE(A)
 B.C‑ UID(TLCPJM) ALLOC(A)