× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Bill wrote:
>I have a problem when trying to run the DspAudJrnE
>command.  It tries to run the command RunQry and has
>hardcoded the library the command should run from as
>QSYS.  We have taken RunQry out of QSys and have
>moved it to a library lower in the list ...
>
>Since RunQry doesn't exist in QSys, I thought I
>could create a duplicate command in our system
>library that's ahead of QSys.  This would then call
>a CL job that would CrtDupObj RunQry to QSys, then
>run the QSys version of DspAudJrnE which would then
>successfully find RunQry, then delete RunQry out of
>QSys.
>
>What would be required to do this -or- is there a
>better way to do this?

My recommendation is to not use the DSPAUDJRNE command at all. DSPAUDJRNE
only supports some types of audit records, and it only displays some of the
audit data for those records. Also, it has never been updated to use the
new *TYPE5 audit files and may not be updated in the future. The DSPJRN
command gives better information.

Basically all DSPAUDJRNE does is: 1) Create a duplicate of a QSYS/QASYxxJ4
physical file into library QTEMP. 2) Use DSPJRN to copy the requested audit
records into that physical file. 3) Run a query to select some of the
columns  from the physical file and print the output.

If you wish to, you can probably create your own command or program to
display audit journal entries. If you do, and if you decide to use RUNQRY
then you can use it from the library where you placed it.

Ed Fishel,
edfishel@xxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.