|
Are the field names on the output file unique, or are they also defined on the input files? If they are defined on the input files, you can CLEAR the fields after each write, but the next read of those files will automatically populate the fields on the output file. If this is the case, then the question is - what is in the fields on the input files? Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx steema@diskhaven. com Sent by: To rpg400-l-bounces@ rpg400-l@xxxxxxxxxxxx midrange.com cc Subject 04/28/2006 02:45 clearing fields on output PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@midrang e.com> HI I am having a problem w/ building a work file. I do a few chains to various files, for the purpose of identifying problem records in our EDI system. I am getting strange data in the output, I do a CLEAR after every WRITE. but I must be missing something. There are 2 writes to this file. The first is if there is a no found condition, between one set of EDI files and another (they should be matched). The other is when a field is not equal to same field in a cross ref. file. Thanks, Steve -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.