Yes you can.
I personally wouldn't copy this into multiple different programs but I don't know exactly how this will be used so ...
I would tend to do it this way - or something like it.
Call the file specific program and have it pass three parms. Before image record layout, after image layout, and length of that record to the journal reader.
Have the reader compare the before and after images using reference modification based on the length. Have it return only when there is a mis-match. At least I assume that is where you're going with this.
This means that you only have to recompile a program when the file(s) it handles change. And you never have to do anything with the journal reader unless IBM changes the layout - which is possible but unlikely.
On 2013-03-01, at 11:50 AM, Stone, Joel wrote:
Maybe I can code "Address of JOTIME" and add "Length of JOTIME" to that to get to the first user field???
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2021 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.