RPGIV @ Work

A unique site for RPG and System i Lovers


Hi, this site will provide all what you need in System i and RPG developments.

My Name is Chamara Withanachchi, System i Expert and RPG Developer. And in the field for last 11 years.

I hope you will find lot of valuable information from this site

Control user Profile Login Print E-mail
User Rating: / 0
Written by Chamara   

Some times you may need to allow some users to Disable/Enable in a given time automatically, I have found CHGEXPSCDE command which enables this facility.

This command gives you the power to set a profile to expire or even delete on a certain date. For example, enter the following command to disable user profile USER1 on December 12, 2012.


Furthermore, the command DSPEXPSCD will display a list of profiles that are pending expiration. This is a great little feature, especially if your shop has a high rate of employee turnover.

you can use the CHGACTSCDE command to ensure that certain profiles are not allowed to sign on to your system during various hours of the day. For example, if you have a vendor with a user profile called VEND1, you can authorize this profile to sign on only during weekday office hours of 8:30 a.mm to 5:00 p.m. by using the following command:

    DSBTIME('17:00:00') DAYS(*MON *TUE *WED *THU *FRI)
<Previous   Next>