Previous Topic: VSE Data Set Access RulesNext Topic: VSAM Allocation Protection Access Rules


VSAM File Access Rules

You can also write access rules to protect VSAM files that you can access through CMS. The syntax of the access rule sets is the same as for OS/390 data sets.

$KEY(PAYROLL)
 MASTER.DATA UID(APPMGRTLCAMS) READ(A)
 MASTER.DATA UID(APPPRGTLCAMS) READ(A) UNTIL(01/01/99)

This rule set specifies read access for the VSAM file PAYROLL.MASTER.DATA. The first rule entry allows read access to user APPMGRTLCAMS. The second grants read access to user APPPRGTLCAMS until (and including) January 1, 1997.

Access rules allow VSAM filenames of up to 44 total characters and up to eight characters per index level.