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



Hi Evan,

> I was at a site yesterday where an ILE service program was put live which
> crapped out when called from a menu obtained by use of an attention key. I
> have had a look through the archives but nothing seemed applicable to my
> situation.

I found these in the archives, they seem to be relevant:

http://archive.midrange.com/rpg400-l/200203/msg00785.html
http://archive.midrange.com/midrange-l/199910/msg00654.html

> The program in question crashes with a pointer not found error referring to
> one of the procedures exported from the service program (sorry I should
> have thought to bring the error message home with me)

I'm guessing that it was MCH3402:
 "Tried to refer to all or part of an object that no longer exists."


> I had a look at the program called from the menu which seems have a lot of
> rclrsc commands but otherwise did not seem to have anything strange about
> it other than being an attention key program.
>
> The service program and the ile program calling it were both compiled with
> activation group *CALLER and the ile programs live in a mainly OPM progam
> environment.

When you have a service program running in ACTGRP(*CALLER) that's called
from the default activation group, RCLRSC will close that service
program's files, but not reset anything in the service program itself, or
even notify the service program that something has changed.

When you call the service program (which is still loaded, since RCLRSC
does not remove ILE objects from memory unless their set to
DFTACTGRP(*YES)) it tries to access it's file and them BOOM!


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.