|
Use Prefix('x': 0) and prefix the field names with the value of 'x' Ken Slaugh (707) 795-1512 x118 Chouinard & Myhre, Inc. AS/400 Professional Administrator/MSE Client Access Specialist http://www.cm-inc.com/ "Dare" <oludare@ix.netco To: <rpg400-l@midrange.com> m.com> cc: Sent by: Subject: Re: File processing help rpg400-l-admin@mi drange.com 10/26/2001 07:13 PM Please respond to rpg400-l Rename the field name in the D spec for RPGIV/LE. You do it in I spec for RPG400 down to RPGII. Then you may use the new name within your program. If you want, open and read the first file and close it at end using UC (user control in F spec), then do the same with the second file without changing the field name. You can not choose the second option if you're relating the 2 files to get your output. Dare ----- Original Message ----- From: "Wills, Mike N. (TC)" <MNWills@taylorcorp.com> To: <rpg400-l@midrange.com> Sent: Friday, October 26, 2001 12:49 PM Subject: File processing help > I need to process two different files with the same field names in both > files at the same time. How would I go about doing this. I have never done > anything like this before. Do I use input specs to rename them? Or is there > a better way? > > TIA > > Mike > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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.