At the example site, two selection data sets are allocated: PAY1SDS1 and PAY1SDS2.
INCLUDE(PAY1.**)
EXCLUDE(PAY1.PY%%3.**)
PAY1SDS1 causes aggregate backup to back up all data sets whose names begin with PAY1, excluding any data sets with the middle qualifier PY%%3. Use of the % character has been explained in a previous topic.
INC(PAY2.PY002.SOCSEC -
PAY2.PY002.STATUS.G0002V00 -
PAY2.PY002.RETIRE)
ACC(PAY2.PY001.TAXES)
ALLOC(PAY2.PY001.BENEFIT)
PAY1SDS2 causes aggregate backup to back up all data sets listed. In addition, PAY2.PY001.TAXES is processed as an ACCOMPANY data set and PAY2.PY001.BENEFIT is processed as an ALLOCATE data set.