×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




You can call off the dogs, it's working correctly now. My best guess is that there was something in the CGI job. I had been working/testing for a while, and it was all in the same CGI job. I've had problems before that were solved by ending the existing CGI job.

Thanks everyone!



For posterity:
The webpage has a button that calls an RPGLE program operating in its own named activation group. That RPGLE program calls a *SRVPGM that does the JDBC. That *SRVPGM keeps the connection in a global variable. If the connection is null (If Conn = *null;), it establishes a new connection before running the JDBC operation. The *SRVPGM returns without closing the connection.

I was the only user on a test server. I clicked the webpage button and the RPGLE program executed. The connection variable in the *SRVPGM was null, so it created a new connection. The RPGLE returned data to my webpage. I immediately clicked the webpage button again. When I got into the *SRVPGM, other global variables were still set but the connection was null.


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