You can control when an ACID can enter the system through a facility or device by specifying the following time-related parameters:
Specifies the day of the week.
Specifies the time of day.
Specifies a particular length of time.
Specifies an inclusive or exclusive list of dates, which gives you the ability to establish calendars to reflect site-specific events (such as company holidays). The CALENDAR specified does not need to exist to do the permission; however, the PERMIT does not execute correctly until the named record exists in the Static Data Table (SDT).
Specifies multiple time intervals within a 24-hour day. You can specify multiple 15-minute intervals within a 24-hour day when access to a resource is permitted. The TIMEREC specified does not need to exist to do the permission; however, the PERMIT does not execute correctly until the named record exists in the SDT
The DAYS and CALENDAR keywords are mutually exclusive. Replace any existing permissions that use the DAYS keyword with a permission that uses the CALENDAR keyword. Revoke the permission for DAYS, and then reissue the resource permission using CALENDAR.
The TIMES and TIMEREC keywords are mutually exclusive. Replace permissions that use the TIMES keyword with a permission that uses the TIMEREC keyword. Revoke the permission for TIMES, and then reissue the resource permission using TIMEREC.
Examples: limit access by time
This example lets USER02 access the CICS facility on Monday, Wednesday, and Friday:
TSS ADDTO(USER02) FACILITY(CICS)
DAYS(MON,WED,FRI)
This example lets USER02 access the CICS facility on Monday, Wednesday, and Friday from 9:00 a.m. to 5:00 p.m.:
TSS ADDTO(USER02) FACILITY(CICS)
DAYS(MON,WED,FRI)
TIMES(09,17)
This example lets USER02 access CICS on Monday, Wednesday, and Friday from 9:00 a.m. to 5:00 p.m. for the next ten days:
TSS ADDTO(USER02) FACILITY(CICS)
DAYS(MON,WED,FRI)
TIMES(09,17)
FOR(10)
This example gives USER02 access to CICS on Monday, Wednesday, and Friday from 9:00 a.m. to 5:00 p.m. until December 31, 2009:
TSS ADDTO(USER02) FACILITY(CICS)
DAYS(MON,WED,FRI)
TIMES(09,17)
UNTIL(12/31/09)
This example lets USER01 use terminal PD01 until December 31, 2009:
TSS PERMIT(USER01) TERMINAL(PD01)
UNTIL(12/31/09)
This example lets USER01 use the terminal PD01 until the indicated date between the hours of 9 a.m. and 6 p.m.:
TSS PERMIT(USER01) TERMINAL(PD01)
UNTIL(12/31/09)
TIME(09,18)
This example grants USER01 update access on the dates specified in the CAL1 calendar:
TSS PERMIT(USER01) DSNAME('INV.MASTER.FILE')
ACCESS(UPDATE)
CALENDAR(CAL1)
This example gives USER01 access during the times specified in the TIME1 record:
TSS PERMIT(USER01) DSNAME(SFT.)
ACCESS(ALL)
TIMEREC(TIME1)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|