tim wrote:
I have a trigger program to log any changes in a file. Here is
snippit:

<<SNIP>>

I was wondering if this could be done a different way so that as I
add more files to this logging process, all I would have to do is
change a file name or something. I was thinking it would have
something to do with pointer logic, but not sure where to start.

Another perspective, rather than a reply to the RPG question, so probably best just to ignore if not useful input for the situation.

Why not use journaling for logging? Use STRJRNPF for the additional files that are added to the list of files to have logging. If all files created in the library should be journaled, then create the QDFTJRN *DTAARA object in that library.

Regards, Chuck

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-2019 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].