|
On 10/6/2016 8:13 AM, CRPence wrote:
On 05-Oct-2016 10:04 -0500, Boyle, Doreen wrote:
I'm running dspjrn on QAUDJRN with entry type CA. I don't know
a time frame. I'm a little rusty on using DSPJRN.
The Display Journal (DSPJRN) is not the easiest way to search;
because that feature is so generic, many people will lack the full
understanding. As such, the OS provided the [since deprecated]
command Display Audit Journal Entries (DSPAUDJRNE) later supplanted
by the Copy Audit Journal Entries (CPYAUDJRNE) as a feature for
more directly extracting the /auditing/ details directly from the
QAUDJRN *JRN in QSYS. In the latter, after the output file is
produced with the data, then query [or browse] the data for
relevant records.
For the Journaled file parms I put *ALL for the file and for
Library I put the name of the library I'm interested in knowing
who changed. It's been running awhile, I'm keeping an eye on
disk.
That would be an example of a /misuse/ of the DSPJRN, as an
attempt to get the details of interest :-( Use the CPYAUDJRNE. […]
[…] there is an SQL service that can list journal entries nicely
QSYS2.DISPLAY_JOURNAL is a user-defined table function, and one can
use a WHERE clause to get just what you want. […]
As an Amazon Associate we earn from qualifying purchases.
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.