|
User requirement: When EDI data is written to the IFS using a 3rd
party package (that I do not have the source code to), I need to
forward this data to a PC based system.
Solution: I submitted the RCVJRNE command using the QAUDJRN to call
an exitpgm that I wrote to FTP the data to the PC based system. RCVJRNE JRN(QAUDJRN) EXITPGM(CAGPL/CAPTURE) JRNCDE((T)) ENTTYP(CO) ENTFMT(*TYPE4) DELAY(*NEXTENT 60) Works great, but....
Issue: When the journal receiver changes, my job ends normally. This is a major problem.
Questions:
1. Is there a better solution?
2. I've done a lot of trial and errors with the parameters
of RCVJRNE, is there any combination that will make it continue running when the receiver changes? 3. Should I code the exit pgm to resubmit the RCVJRNE command
if the first byte of the second parameter is a '3' or the
second byte is a 'N'.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.