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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.