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



It's actually the RCLRSC that causes the error you describe, John. The problem is that RCLRSC is an OPM tool. It doesn't understand ILE concepts like service programs. It tries to close down all open resources, so it closes the files, releases memory, etc. But it doesn't know about service programs, so it skips them.

The problem is, the service program doesn't know that something came along and closed it files, et al. So the next time it tries to use them, kaboom.

Therefore, you should always run service programs in a real activation group, not in the default activation group. ILE programs were never intended to be reclaimed by RCLRSC -- they were intended to be reclaimed by RCLACTGRP from an actual activation group.

Fortunately, RCLRSC only touches the default activation group, so if you code your ILE properly (i.e. in a real actgrp) this won't happen.

However, I don't think this is related in any way to Terri's problem.


On 3/5/2010 1:02 PM, John Rusling wrote:
I see this error when I'm developing a new program that uses a service program
and the new program is in the default activation group.

The new program will work one time and crash on subsequent calls.

When I change the new program to compile to a *new activation group, it clears it up.

(there's a technical description for why this happens but I'm struggling
to remember what it is)<g> Sucks getting old!

Hth,

John B.

I did a service program a few years ago and I trying to do anther. Most of
the stuff is copied from the working one. When I call the program, I am
getting the errors:
Pointer not set for location referenced.


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.