Change Object Auditing value from *NONE to *USRPRF
search cancel

Change Object Auditing value from *NONE to *USRPRF

book

Article ID: 282572

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

When we do WRKOBJ on any of the program created in GEN we see Object Auditing value is *NONE. We would like to change them all to *USRPRF

Environment

CA 2E 8.7 and higher

Resolution

There are two approaches

  • Approach 1: It looks like the QCRTOBJAUD system value was changed in your system.
    Could you check the QCRTOBJAUD value in your system by using the below command:
    DSPSYSVAL SYSVAL(QCRTOBJAUD)

    If this system value is *NONE, then change that to "*USRPRF" by using the below command.
    "CHGSYSVAL SYSVAL(QCRTOBJAUD) VALUE(*USRPRF) "

  • Approach 2: Alternately, there is another way to do it: we can use the post-compilation command "CHGOBJAUD OBJ(GENLIB/OBJECT) OBJTYPE(*ALL) OBJAUD(*USRPRF)" that can be configured in the source with the Y* compiler directive, or you can put this command in one program and place that program in the "YBRTPXA" data area from Bytes 21 to 40.

Additional Information

If possible Broadcom Support recommend Approach 1

Some more info regard Approach 2: Compile Preprocessor