|
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
As an Amazon Associate we earn from qualifying purchases.
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.