|
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Simon Coulter
On 26/03/2009, at 12:53 AM, David FOXWELL wrote:
Simon, I'd also like to be able to highlight the lines of the email
I'm replying to with a >, how do you do that?
Depends on your e-mail client. The headers in your e-mail
indicate WinDOS therefore probably Outlook. Even that smelly
pile of poo can quote reply text.
One possible approach:
Step 1) Convert to RPG IV running in *DFTACTGRP. Any *SRVPGMs
should be *CALLER.
Step 2) Once all code is RPG IV run *PGM objects in QILE (or
other named activation group)--usual technique is to have
main programs specify the desired activation group and
sub-programs use *CALLER like *SRVPGMs generally do.
Step 3) Analyse application behaviour and use additional
named or *NEW activation groups where appropriate--it may be
that it is inappropriate or unnecessary for your application.
We are running a program that exists in several versions,each one in
its own ACTGRP.
What do you mean by versions? Different source code? Or just
uses different libraries for files?
This will permit the application to start in a general environmentenvironment
(DFTACTGRP), then depending on user choice, switch to an
specific to that choice. This will let us switch from families ofetc exists
files that exist in different libraries, eg File1, File2,
in Lib1, Lib2, etc We will have an ACTGRP per librarycontaining each
group of files.
What is specific to that environment? What is it about the
application that needs separate activation groups per client?
So, we start in DFTACTGRP, go to named ACTGRP X, return toDFTACTGRP
go to named ACTGRP Y, etc.
Big mess! especially if you still have RPG III code being
called from your client-specific named activation groups.
If the reason for this mess is simply trying to get different
libraries used by different "client selector" programs then
use *NEW as suggested by Joep. However, you still need to get
out of *DFTACTGRP. At a minimum you need to ensure that code
called by your client-specific program(s) runs in the same
activation group.
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.