|
Hi Doug, Yes I would love to try something like that, but a) Don't have time, b)some files have different layouts depending which program is using them. Then there is the problem of programs named exactly the same, in different libraries doing different things and sometimes using the same files and sometimes not. I couldn't believe what was happening the first time I discovered this, told of a problem with one program found the program, but it was not an interactive program as the user claimed then I discovered there were two more programs called exactly the same in different libraries both doing different things, there are about 80 to 100 duplicates like this, I could go on but I am afraid no one would believe what is on this box! :-) We are currently going thru an exercise that will hopefully eradicate the S36 from our box. Steve -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Douglas Handy Sent: Wednesday, December 15, 2004 3:53 AM To: RPG programming on the AS400 / iSeries Subject: Re: RPGII to RPG IV Steve, >so we spend most of the processing time converting from flat files to externally described files and back again. When faced with a RPG II to RPG IV conversion where the file layouts did not remain compatible (for example due to true date fields in the new files), I set up bi-directional triggers. The S36EE file trigger would keep the native version in sync in real-time, reformating as necessary, and the native file trigger would do the opposite, propagating changes back to the corresponding S36EE file. This lets either file be used during the transition period and programs replaced and implemented gradually instead of having a mass cut-over weekend. If your file layouts can remain the same, the RPG II programs can access an externally described file just fine (when properly defined as a program described file). Of course, as Bob pointed out that gets more complicated when the program described file used multiple formats. Doug -- 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-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.