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



Loop?? I really don't understand what you're saying... How could an activation group ever create a loop?

Indeed, I completely disagree with you about IBM putting in error checks. The problem is, IBM does *not* put in those types of checks. That's the whole problem with RCLRSC against an ILE service program. It doesn't check for stupidity. RCLRSC closes the files, because it understands open files -- but it doesn't unload the service program because it has no notion of service programs. The service programs have no way to detect that RCLRSC freed up the memory they were using to interface with the database, and they simply start overwriting random memory until they get lucky enough to crash.

Had IBM put in error checking, they would've prevented you from running ILE code in the dftactgrp via *CALLER so that this sort of breakage wouldn't happen. (Of course, they can't make that change now, because too many people are actually USING this mistake as a "feature".)

But, anyway, I have no idea what you mean by a "loop" or the shampoo analogy. Can you explain why you think running ILE in *CALLER from an OPM program would cause a loop?

Jerry Adams wrote:
Yeah, I know that it's best not to use the default activation group,
and that bad things can happen. It's just that Dftactgrp(*no)
actgrp(*caller), when the caller is in the default activation group,
seemed like a loop. Sort of like the instructions on shampoo
bottles: Lather, rinse, repeat.

I guess IBM put in "That's the dumbest thing I've seen today" error
checks for these kinds of things.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.