× 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.




On 21/04/2008, at 5:05 AM, Jim Franz wrote:
This is rpg-cgi.
Same pgm executes hundreds of times a day and fails just a few times.
V5R4M5 with http group level 12
Cannot re-create or force the error.
MCH3402 Escape 40 04/18/08 16:29:42.804976 QLEAWI QSYS *STMT QLEAWI QSYS *STMT
From user . . . . . . . . . : QTMHHTP1
From module . . . . . . . . : QLETREC
From procedure . . . . . . : terminate__F11_CNL_Mask_TiT2PiT4Pc
Statement . . . . . . . . . : 152
To module . . . . . . . . . : QLETREC
To procedure . . . . . . . : terminate__F11_CNL_Mask_TiT2PiT4Pc
Statement . . . . . . . . . : 152
Message . . . . : Tried to refer to all or part of an object that no longer
exists.
The apache instance ends.


Really insufficient information to properly diagnose. Need the call stack of the job and rest of job log. Still, let's see what analysis shows . . .

MCH3402 means code tried to use a resolved pointer but the object to which it refers is destroyed (deleted). One frequent cause is running code in the DFTACTGRP that refers to "stuff" in another activation group that no longer exists.

However, the message is sent from the QLEAWI service program. That *SRVPGM contains the routines for the various CEE APIs. The module that sent the message is QLETREC which is suspiciously like the name of CEETREC which is the API to perform a Normal End of Activation group.

So, is your code running in the DFTACTGRP? If so what references are you keeping to "other stuff"?

Does your code call the CEETREC API? Or any of the other CEE Activation Group and Control Flow APIS?

Does your code explicitly use activation groups? Are you 'managing' these or letting the system do it?

Can you get the call stack at the time of failure? If so is your CGI program in the stack?

No answers but plenty of things to investigate further.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




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.