|
one way to do this is to write the procedure name to a field in the file.
That way it will be there in the data portion of the journal entry. To
reliably do that we would need an RPG %procname( ) built in function.
Does the system returned the journal seqnbr somewhere? Where it would be
available to a trigger after exit program. That way the trigger exit
program could retrieve the procedure name from the call stack and match it
with the journal entry sequence number and store the pair to a journal
adjunct table.
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.