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



When I encountered storage corruption issues in my programs, 90% of the time
it was a memcpy that was not carefully bounded. Other 10% it was an
uninitialized variable of some sorts, being used as if it was initialized.

Maybe that helps narrow down the suspect list.

Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
Subject: Re: [C400-L] File left open in QZRCSRVS job

I am using C for obvious reason. I know it. I also know half a dozen other
languages (starting from Fortran, PL/I and Assembler), and RPG is not among
them. I don't see much reason to study one more language just to slove this
problem.

Actually I started already rewriting API-s to use user space and thje
results are very very good.

I of course agree with Simon, when he says, that if adding a printf makes
program work, there is a memory problem somewhere. But the same applies to
debug mode. But this does not make me happy :-)

So I saw switching to user space as a possible solution - and it happened to
be pretty straightforward and efficient...



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.