|
Dave, I can't really say what the problem is, but I suspect you'd have better results compiling the RPGIV program to run in a named activation group, and compiling the service program to run as *CALLER. I suspect the CLP is running in the DAG, which would make the RPGIV run there as well. I know I've heard of situations where ILE resources get started in the default activation group by mistake and the system gets hosed when trying to reclaim those resources. I know that was the case with RCLACTGRP *ELIGIBLE (very dangerous). hth, Eric DeLong -----Original Message----- From: dmosley@dancik.com [mailto:dmosley@dancik.com] Sent: Tuesday, May 01, 2001 4: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 Message file . . . . . . . . : QCPFMSG Library . . . . . . . . . : QSYS Message . . . . : Tried to refer to all or part of an object that no longer exists. Cause . . . . . : The most common cause is that a stored address to an object is no longer correct because that object was deleted or part of the object was deleted. In my joblog, there is NO indication of the object. Can anyone give me a little indication of what is going on here... We can work around this by having the RPGLE program compiled with ACTGRP('DAVE'). But, I'd like to know why this would be happening in the first place... thanks David L. Mosley, Jr. Systems Analyst 2000 CentreGreen Way Suite 250 Cary, NC 27513 +--- | 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 +--- +--- | 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-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.