CHGACTSCDE (Change Activation Schedule Entry)
CHGACTSCDE Command syntax diagram
Purpose
The Change Activation Schedule Entry (CHGACTSCDE) command allows you to activate a user profile for sign on only for a specific period of time on specific days. A user profile will not be made available at its specified time if it has reached the maximum number of invalid sign-on attempts.
Restriction: You must have *ALLOBJ, *SECADM, and *JOBCTL special authorities to use this command.
Required Parameters
- USRPRF
- Specifies the name of the user profile to be activated for a period of time.
- ENBTIME
- Specifies the time on the specified days at which the job to enable the user profile will be submitted.
*NONE: The profile is not to be enabled.
enable-time: Specify the time of day that the user profile will be enabled.
- DSBTIME
- Specifies the time on the specified days at which the job to disable the user profile will be submitted.
*NONE: The profile is not to be disabled.
disable-time: Specify the time of day that the user profile will be disabled.
Optional Parameters
- DAYS
- Specifies the days of the week on which the job to enable and/or disable the user profile will be submitted.
*ALL: The job is submitted every day.
*MON: The job is submitted on Monday.
*TUE: The job is submitted on Tuesday.
*WED: The job is submitted on Wednesday.
*THU: The job is submitted on Thursday.
*FRI: The job is submitted on Friday.
*SAT: The job is submitted on Saturday.
*SUN: The job is submitted on Sunday.
Example for CHGACTSCDE
CHGACTSCDE USRPRF(GARRY) ENBTIME('07:00:00') DSBTIME('18:00:00') DAYS(*MON,*TUE,*WED,*THU,*FRI)The user profile GARRY will be enabled at 7:00 AM on every Monday, Tuesday, Wednesday, Thursday and Friday, and disabled at 6:00 PM on every Monday, Tuesday, Wednesday, Thursday, and Friday. The user profile will remain disabled over the weekend.
Error messages for CHGACTSCDE
*ESCAPE Messages
- CPDB305
- User &1 not found in list.
- CPFB304
- User does not have required special authorities.