XFACILIT implementation example 1

Given a history file that is named HFZ.COMMON.HIST, prevent general access to the data set using, for example:
ADDSD 'HFZ.COMMON.HIST' UACC(NONE)
Define the following XFACILIT profile and access (repeat for each instance of group):
RDEFINE XFACILIT HFZHIST_GROUP_DSN.group.HFZ.COMMON.HIST XFACILIT UACC(NONE)
PERMIT HFZHIST_GROUP_DSN.group.HFZ.COMMON.HIST XFACILIT CLASS(XFACILIT) ID(group) ACCESS(UPDATE)

Additional groups or users can be given access to the XFACILIT string as appropriate.

The resulting access to the HFZ.COMMON.HIST history file is such that: