Is it possible to Journal a *PGM(CLP,RPG,CLLE) object??
****************************************************************************
If yes, pls let me know the procedure?
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Hello Philp,Objects including programs can be audited.If programs can be audited,then which command should i use to start journaling a program??? -Rajesh
If programs can be audited,then which command should i use to start journaling a program?
“Auditing” is not “journaling”. You can’t start journaling a program. You can start auditing a program with CHGOBJAUD.
Note, however, that the system audit journal (QAUDJRN) is where audit entries are stored; so there can be some confusion between “auditing” and “journaling”. The two processes create very different kinds of entries.
Hello Tom, If i use this ex :[CHGOBJAUD OBJ(MVXCOBJ/ACLCTAX) OBJTYPE(*PGM) OBJAUD(*CHANGE) ] cmd to audit a program how could i retrive the information on changes made to that particular object.-Rajesh
You always retrieve entries from a journal the same way (or ways, if you use different techniques for different reasons). It doesn’t matter if events are retrieved from the system audit journal or a database journal or an accounting journal or any object of type *JRN. If you want to display entries from a journal, use the DSPJRN command. Specify whatever parameter values that you need. — Tom
No, a program object can’t be journaled. There would no sense in doing it because there is no data to record in a journal. — Tom
Objects including files can be audited. This will provide a history of object changes.
Should have said:
Objects including programs can be audited. This will provide a history of object changes.
Hello Philp,Objects including programs can be audited.If programs can be audited,then which command should i use to start journaling a program??? -Rajesh
If programs can be audited,then which command should i use to start journaling a program?
“Auditing” is not “journaling”. You can’t start journaling a program. You can start auditing a program with CHGOBJAUD.
Note, however, that the system audit journal (QAUDJRN) is where audit entries are stored; so there can be some confusion between “auditing” and “journaling”. The two processes create very different kinds of entries.
Tom
Hello Tom, If i use this ex :[CHGOBJAUD OBJ(MVXCOBJ/ACLCTAX) OBJTYPE(*PGM) OBJAUD(*CHANGE) ] cmd to audit a program how could i retrive the information on changes made to that particular object.-Rajesh
You always retrieve entries from a journal the same way (or ways, if you use different techniques for different reasons). It doesn’t matter if events are retrieved from the system audit journal or a database journal or an accounting journal or any object of type *JRN. If you want to display entries from a journal, use the DSPJRN command. Specify whatever parameter values that you need. — Tom