Example 2: Group data sets

To specify that all users are to have UPDATE access authority to data sets whose high-level qualifier is the user's current connect group, enter:
RDEFINE GLOBAL DATASET ADDMEM('&RACGPID.**'/UPDATE)
Note: The &RACGPID entries provide more flexibility than the GRPACC attribute. Table 1 shows some points of comparison.
Table 1. Comparison of GRPACC attribute with &RACGPID.** entry in global access checking table
GRPACC attribute &RACGPID.** entry
Applies only to group data set profiles created by the user while the user has the GRPACC attribute. Applies to all group data sets for all users.
Always allows UPDATE access. Can allow READ, UPDATE, CONTROL, or ALTER access.
Works by changing access lists in group data set profiles. These can be changed individually later. Works the same way for all users in all connect groups. Changes affect all users.
Applies only to resources in the DATASET class. Can apply to any class that might include a group name in profile names (such as TAPEVOL).