|
Frank, I don't think you were bitten as much by converting from RPG to RPGIV, but by getting out of the OPM Activation group scheme. The OPM Activation group scheme seems to be that programs all run in the *Default activation group. Everything is in the same activation group, and you don't do a RCLRSC. If you compile everything to run in the *Default activation group most activation group problems you mentioned would go away. The application was originally written in OPM, and runs that way. Now, if you want to further get away from the OPM model and run in different activation groups, it is time to hit the ILE Concepts, as others suggested, and determine which would be the best method for your application. There are different schemes you can go with, depending on what works for you. Some people run different activation groups depending on application, an AP activation group, an AR activation group, Invoice, etc... What seems to be a fairly common practice, from messages I see, is to have an initial program either run in a named activation group, or *New, and sub programs run in *Caller. Again, what works best for you. Regards, Jim Langston -----Original Message----- From: Frank.Kolmann@revlon.com [mailto:Frank.Kolmann@revlon.com] I have finally bitten the bullet and converted all our RPGs to RPGIV. Occasionally I see questions asked about the reason to convert and see the standard reply's about better functions, modular code more modern techniques etc. I wonder what others have experienced. This is a brief list of GOTCHAs i got. <SNIP>
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.