If you have ever had the need to assign user audit values to a user profile you’ll know that the native command provided for such requirements – the Change User Auditing (CHGUSRAUD) command – lacks the ability to show the current audit values in effect for the user profile in question. The recommended approach to display a user profile’s current audit values is to run the Display User Profile (DSPUSRPRF) command and scroll to the last page of user profile information.
If you’re absolutely certain that the user profile whose audit values you’re about to change currently has no AUDLVL(audit level) values assigned, it is safe to simply run the CHGUSRAUD command for the user profile and specify the Object auditing value(OBJAUD) and User action auditing(AUDLVL) values of your choice. But if you have the slightest doubt about the current settings, you run the risk of overwriting these values without knowing, unless you run the DSPUSRPRF command first.
To speed up the process and at the same time make it a little safer and more convenient I wrote the Update User Audit (UPDUSRAUD) command.