× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: I hate Activation Groups....
  • From: Paul Jackson <paulgjackson@xxxxxxxxx>
  • Date: Tue, 1 May 2001 15:47:14 -0700 (PDT)

I believe your problem lies on the second call because
you cannot create the activation group (DAVE) a second
time in the same job once it has been reclaimed.

1. call cl
2. rpg invoked
3. activation group DAVE created
4. rpg returns
5. activation group DAVE deleted
6. cl returns

7. call cl
8. rpg invoked
9. activation group DAVE cannot be created
10. OUCH!

HTH
--- dmosley@dancik.com wrote:
> 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
> +---


=====
"If a man aspires towards a righteous life, his first act of abstinence is from 
injury to animals." 
- Leo Tolstoy

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.