|
If I'm understanding your query correctly, it sounds as if you are trying to "externalize" the database into separate physical files and group them under one logical in order for the existing program(s) to still process them as program described. If this is the case you may want to look at using a record format selector program. This program is specified on the CRTLF command. I've attached the link to the particular manual...IBM Database programming guide http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/dbp/rbafomst311.htm#HDRFORMT I hope this is what your looking for. Regards, Russell Conerly IBM Certified Specialist Tupelo, MS > I need help with reading and processing a 'joined' logical file in an RPG > program. > A little background. We have 1 file (non DDS) that has 12 formats. This > file is used by apx. 80 programs (RPGIII/IV). From a simple read program > to programs updating selected formats. These programs have the file > internally defined. I have finished doing the DDS specs for each of the > formats in this file. I know that these DDS files can now be joined into > one logical file. The logical then can be processed in an RPG programs. > I would like to know if anyone has an example of how to read/update the > joined file in an RPG program using the internally defined layout. This > would in turn give me more time to convert the programs to use the DDS > files. Any help would be greatly appreciated. > Thank You, > William Moore > > _______________________________________________ > 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.