CL Command Reference - CHGEXPSCDE
CL Command List > CHGEXPSCDE Reference
Description:
The Change Expiration Schedule Entry (CHGEXPSCDE) command allows you to expire a user profile on a certain date. The expired user profile can either be disabled or deleted.
When a profile is disabled or deleted, a message will be sent to the message queue of the user who issued the CHGEXPSCDE command.
To remove a user profile from the file so that it will no longer expire specify EXPDATE(*NONE).
This information can be displayed using the Display Expiration Schedule (DSPEXPSCD) command.
Once a profile has been scheduled to be disabled or deleted the CHGEXPSCDE job runs nightly. If you want to change the time the job runs, you can use the Change Job Schedule Entry (CHGJOBSCDE) command to change the QSECEXP1 job.
Restriction: You must have *ALLOBJ, *SECADM, and *JOBCTL special authorities to use this command.
Examples:
CHGEXPSCDE USRPRF(GARRY) EXPDATE(กฏ07/01/1996กฏ) ACTION(*DELETE)
This command changes the expiration schedule entry for user profile GARRY. The user profile GARRY will be deleted on July 1, 1996.