× 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.



Hi Adam,

Starting journalling is easy, and I noted that you use DBU, which makes looking at the resulting journal entries easy as well. The only trick is stopping journalling when you're done -- you'll need exclusive access to end journalling.

CRTJRNRCV JRNRCV(MyLib/MyRcvr) THRESHOLD(5000)

CRTJRN JRN(MyLib/MyJrn) JRNRCV(MyLib/MyRcvr) MSGQ(MyUserID) MNGRCV(*SYSTEM)

STRJRNPF FILE(lib/file) JRN(JRN) IMAGES(*BOTH) OMTJRNE(*OPNCLO)

To look at the journal, you can use

DSPJRN JRN(MyLib/MyJrn)

or

DBU FILE(MyLib/MyJrn) DBUTYP(*JRN)

DBU will prompt you for the file name and the same stuff as the DSPJRN command concerning date and time ranges of entries you want to look at. The nice thing about using DBU is that it shows the record images broken down into fields, as if you were using it to look at the file's records.

hth,
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

Adam Glauser wrote:
joannegiblin@xxxxxxxxxxxxx wrote:
Why don't you just turn journaling on the file? The journals will tell you
what you want to know.

Thanks for the suggestion. It's mostly because I'm not really familiar with the ins and outs of journalling either. Also, this isn't something that happens regularly, and it seems like I'd have to do a lot of work to dig out the relevant journal entries. If journalling were already enabled for this file I'd have tried that route.

Is it really that easy to "just turn journaling on". Given that there are potentially many updates to this file in a short period of time, it seems like keeping the information for all changes could present storage concerns. Again, I'm not familiar with the details so please correct me if I'm wrong.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.