|
I agree about the OVRDBF being a big gotcha. One problem with using OVRSCOPE(*JOB) is that it remains in effect till a DLTOVR LVL(*JOB) is issued. This may or may not be an issue for a given application where the override is assumed to disappear with the end of a program's call level. There can be further complications when SHARE(*YES) is required. OPNSCOPE() can either be *JOB or *ACTGRPDFN. Putting the entire application (or at least the interdependent set of programs) in the same activation group seems the better approach. The overrides can then be left alone. I've seen one shop use ACTGRP(*CALLER) so as to keep all programs/service programs in the default activation group. This avoids the override issue. It's wrong but hard to argue against when it appears to work Keith ----- Original Message ----- From: "Bob Cozzi" <cozzi@xxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, October 12, 2004 9:16 AM Subject: RE: Converting to ILE > Bruce, > I'm sure you'll have many suggestions for RPG III to RPG IV conversion... > I think the issues you've acknowledged in your email are the bulk of them. > The single biggest issue for most people, that I've found is the OVRDBF > question. If you are going to convert your CLP's to CLLE's, then changing > the OVRDBF to *CALLLVL may help you avoid some surprises. If you leave them > as CLP's, then you need to change the overrides to *CALLLVL or *JOB to avoid > loosing them when CLP calls RPG IV which subsequently calls CLP. > > -Bob > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Bruce Guetzkow > Sent: Tuesday, October 12, 2004 10:53 AM > To: rpg400-l@xxxxxxxxxxxx > Subject: Converting to ILE > > All: > > I know I've seen this somewhere, but can't find it, no matter how I try. > > I want to convert all current RPG-III source members to RPG-IV. In > addition, I plan to convert all CLP to CLLE. I know about CVTRPGSRC > (I've used it at another employer in the past, several years ago). I > know that CLP = CLLE as far as the source is concerned, excepting things > like CALLPRC and other ILE-specific commands. > > What I am looking for is a list of "issues" with converting. It has > been some time since I did anything with converting, but I remember the > following: > - a couple RPG op-codes don't work or won't convert (FREE, at least one > other) > - OVRDBF OVRSCOPE parameter needs to be properly scrutinized (*CALLLVL, > *JOB, *ACTGRPDFN) > - RCLRSC behaves differently under ILE (i.e.: avoid like the plague) > > I feel comfortable dealing with the above issues (I don't think we have > any programs with FREE and most of the CLs with RCLRSC are batch anyway, > so they will be easy to change). I just need to know what other issues > exist. > > I don't plan to do more than use IBM's CVTRPGSRC command for now. I > will be restructuring code over the next year or so and will rewrite > code as procedures and in free-format at that time. I want to move to > RPG-IV to take advantage of some procedures I have already written, > 10-character file names, longer field names, BIFs, (the list goes on). > Also, the thought of being in the 21st century with all of our code is > intriguing (and somewhat novel). > > So, if anyone can point me to a list of "issues", I can take it from > there. As always, TIA, > Bruce Guetzkow > Information Services Director > United Credit Service, Inc. > Phone: 262-723-2902 > Fax: 262-723-5568 > Email: bruceg@xxxxxxxxxxxxxxxxxxxxxxx > Web: www.unitedcreditservice.com > > > -- > 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. > > > > -- > 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.