ODBC Disconnect
ODBC Disconnect
(OP)
Hi All,
This is a really easy one for someone....
I use "SQL SQLODBC SET USER SOURCE/userid,password"
to connect to a DB/2 data source;
How do I disconnect from the source?
When running SQL directly, I issue a "connect reset" -
what is the WebFocus equivalent?
Many Thanks.....
This is a really easy one for someone....
I use "SQL SQLODBC SET USER SOURCE/userid,password"
to connect to a DB/2 data source;
How do I disconnect from the source?
When running SQL directly, I issue a "connect reset" -
what is the WebFocus equivalent?
Many Thanks.....
RE: ODBC Disconnect
RE: ODBC Disconnect
Once I open the DB/2 connection, it stays open and I can
issue as many: 'SQL ODBC SELECT......' commands as I like.
The connection is closed, I understand, when I issue the FIN
command to terminate Focus. What I want to do is to close the DB/2 connection WITHOUT quitting from WebFocus itself...
and to re-issue the "SQL SQLODBC SET USER SOURCE/userid,password" command later in another fex.
I don't wish to connect to another source but I want to disconnect from DB/2 to avoid a forced close of the connection due to 'idle' time......
Thanks.
RE: ODBC Disconnect
SQL SQLDB2 SET AUTODISCONNECT ON COMMAND