

In 2009 Bruce Vining posted a good how-to article about using the STRWCH feature along with a nice program example. We adapted his example to watch for specific users being disabled and automatically re-enable them. In our case, this is a generic user profile that all use to clock in and out. It has very limited privileges.
Some programming skills will be required. Can anyone at your shop help?


1. I would like to inquire if there is a way to exempt a user profile from a disabling, my system QMAXSIGN is 3.
QSECOFR is the only such profile. However, you can have programming that monitors for the disabling event. Your program can then decide to reenable the profile, based on whatever rules you create. You can also create programming that reenables any profile on request.
2. Can I recreate a profile like QSECOFR, that can be logged in even disabled on the Controller / Main Display.
No.
3. Is there a way that a single user profile have more than one group profile assigned?
Yes. A profile may belong to a primary group and up to 15 supplemental groups. Use the SUPGRPPRF() parameter to add supplemental groups.
Tom
Thank you Tom.
As of now I don’t have any programming skills on iSeries, how is the program executed? Is it always polling to check whether the profile is disabled or polling for all profiles? If it is not too much, maybe somebody could help me write the program.
Thank you in advance.
Setting a ‘watch’ monitor is an excellent way to set up a monitor (assuming the system is reasonably current). Bruce Vining’s articles are about as authoritative as such things get.
Tom
This might be overkill, but I developed an application called Profile Manager which supports the automatic re-enablement of user profiles (with a whole bunch of nice features that you may not care about). The product is priced assuming rather large systems, but if you are interested and have a small system feel free to contact me offline.
Bruce Vining
Thank you Tom, WoodEngineer and Bvining for the overwhelming responses. I’ll check on this.
@Bvining, I’ll consult this with my heads, since we are bound by procurement stuff within our country.
any disabled user can sign on in case we started in Manual Mode