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



<snip>
Hey again, Does any one know how to debug a C program being called in an
RPG
program? If I could get a little more information about how it is
trying to
connect to the SQL server I would be able to make some better progress.
</snip>

I am confused. Why would you need to debug a C program? Scott's program
uses 100% java calls.

As far as debugging a C program, you debug it exactly like an RPG
program. Either step into it or display the source and set a breakpoint.
Just like an RPG program you have to have a program complied with debug
information.

As far as debugging the service program, I would step through it step by
step and see where you are getting the error. There are several places
in Scott's service program where it gets an error but does not report
it. It just returns a null. If you step through it, you would find where
it is failing.

If you need some help with this, you might send me a private e-mail and
we could talk on the phone.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.