Previous Topic: CALENDAR Keyword—Create and Use a CalendarNext Topic: CATEGORY Keyword—Category Specification


Example: CALANDR keyword

This example creates a calendar for the present year called CAL1:

TSS ADDTO(SDT) CALENDAR(CAL1)

This example creates a calendar called CAL1 for the days Monday through Friday in the year 2009:

TSS ADDTO(SDT) CALENDAR(CAL1)
               YEAR(2009)
               DAYS(WEEKDAY)

This example permits a user to update the inventory master file data set INV.MASTER.FILE with the personnel department's CALENDAR CAL1:

TSS PERMIT(USR01) DSNAME('INV.MASTER.FILE')
                  ACCESS(UPDATE)
                 CALENDAR(CAL1)

This example revokes access:

TSS REVOKE(USR01) DSNAME('INV.MASTER.FILE')