|
Hi David! Offhand, I'd say you've got the activation group thing upside down. Generally, you want the RPG program to run in a named group and the service program to run *CALLER. The idea behind AGs is that you get finer control over your overrides than without them. Without AGs you can only scope an override to the job. With them, you can scope overrides to individual applications. Specifically, this comes in handy for OVRDBF SHARE(*YES) So, normally I would suggest that you have a very small number of named AGs, and that they roughly coincide with your applications: AP, AR, GL, etc. If you're saying to yourself "Hey! We haven't any SHARE(*YES) overrides..." then I humbly suggest that you have no need for anything other than a single named AG: QILE. Which simplifies your life considerably. Buck Calabro Commsoft; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com > -----Original Message----- > From: dmosley@dancik.com > Sent: Tuesday, May 01, 2001 5:58 PM > To: RPG400-L@midrange.com > Subject: I hate Activation Groups.... > > OK, here's the situation, and hopefully, someone can brief me on why this > is happening... > > I have a *SRVPGM with an assigned activation group, we'll save ACTGRP > ('DAVE').. > > Now, I have a normal RPGLE program, with an activation group of *CALLER, > that calls the *SRVPGM. > > And a CLP that calls the RPGLE, has a RCLACTGRP DAVE, and the end of it. > > OK, here's what's happening. > - - My first time calling the CLP --> RPGLE, is successful. No problem. > - - My second time calling it, I logs my off the system, with a MCH3402, > message. > > Message ID . . . . . . . . . : MCH3402 +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.