Is there any way to tell who added a record to the system reply list?

90 pts.
Tags:
AS/400 Records
i5/OS
IBM iSeries
Is there any way to tell who added a record to the system reply list?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Yes, assuming that you have your system configured to track such things.

These commands can obviously be put into a CL program and many parameter changes are possible. This sequence does the task from the QCMD command entry screen. Go into QCMD and press F11=Display full, to get more entry lines. Then copy/paste the commands and press Enter after each one:<pre>
CRTDUPOBJ OBJ( QASYSMJ5 )
FROMLIB( QSYS )
OBJTYPE(*FILE)
TOLIB( QTEMP )
NEWOBJ( JSM )

DSPJRN JRN( QAUDJRN )
RCVRNG (*CURCHAIN )
FROMTIME( 080910 1400 )
JRNCDE(( T ))
ENTTYP( SM )
OUTPUT( *OUTFILE )
OUTFILFMT( *TYPE5 )
OUTFILE( QTEMP/JSM )

RUNQRY QRYFILE(( QTEMP/JSM ))</pre>
Those commands did these actions:<ul>
<li>Copy a model file from QSYS. The model we chose is for “SM” entries — System Management. It is a format for *TYPE5 journal extractions. Put the copy in QTEMP and give it an name such as JSM.</li><li>Get audit journal entries into our temporary file. Get the entries from the current chain of receivers. Limit the entries to a date range. (Date range is optional, use it if you know what the range is.) Select only audit entries — code “T”. Select only system management entries — type “SM”. Put the entries into an outfile named QTEMP/JSM. Use the *TYPE5 output format.</li><li>Now run a query over the entries.</li>
</ul>
You may run the DSPJRN command by itself and use OUTPUT(*) to get a list of the entries on your display screen. That’s useful when you are familiar with audit journal entries and when you think that there will be relatively few of them.

If you are sure that a reply list change was done and if no SM entries appear, the journal receivers are not on the system or the selected date range was wrong or you aren’t auditing these actions and you won’t be able to track it down.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following