I have a Session login program. Upon logon it first removes all groups for the user from VVUSRAUTH and grants the user access to groups based on some menu access and authority control files we have within our application. It enables us to leverage the access controls we already have and avoids us having to the tedious user-group maintenance in the portal.
One of the files this exit program uses is VVUSERS. Well come to find out that VVUSERS got a new 23rd field at some point after this exit program was compiled and installed. I will be changing that program from native to SQL here shortly, but the point is it was not doing anything because it was level checking on VVUSERS. It took me a while to figure out what was going on. We would grant users menu access to stuff in our application and the session login program was supposed to put that in Valence next time the user logs in. That wasn't happening because the login program was level-checking and did nothing at all. It did not revoke the user's existing vvusrauth group assignments either. The point of the post is: the call to the exit program failed completely and yet the user was able to log on just fine. That tells me calls to customer exit programs are monitored. At long last I did figure out what was going on and I did see errors in VVERRLOG (Note to self: review that log on a DAILY BASIS!) but the question I am posing here is: if I have an exit program on something and I do not want the action that invoked said exit program to continue if it fails, how would I accomplish that?
One of the files this exit program uses is VVUSERS. Well come to find out that VVUSERS got a new 23rd field at some point after this exit program was compiled and installed. I will be changing that program from native to SQL here shortly, but the point is it was not doing anything because it was level checking on VVUSERS. It took me a while to figure out what was going on. We would grant users menu access to stuff in our application and the session login program was supposed to put that in Valence next time the user logs in. That wasn't happening because the login program was level-checking and did nothing at all. It did not revoke the user's existing vvusrauth group assignments either. The point of the post is: the call to the exit program failed completely and yet the user was able to log on just fine. That tells me calls to customer exit programs are monitored. At long last I did figure out what was going on and I did see errors in VVERRLOG (Note to self: review that log on a DAILY BASIS!) but the question I am posing here is: if I have an exit program on something and I do not want the action that invoked said exit program to continue if it fails, how would I accomplish that?
Comment