All,

How are connections to remote databases managed when you use static SQL in
ILE C/C++?

I have a simple program that contains the "declare cursor", "open cursor",
"fetch" and "close cursor". When the module is processed with CRTSQLCPPI I
specify the information for a remote database. This single module is then
use to create a PGM that is called directly.

The program runs fine but it seems like a new connection is created every
time I run the program and that the previous connection is not ended.

1. Is this behavior normal?
2. When will previous connections actually be ended?
3. What should I do if I wanted the end the connection?
4. How can I reuse one of these previous connections?

Thanks,
Steven



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].