Using ODBC 64 bit Linux driver.
'Invalid server handle' is returned and insert fails when using SQLBindParameter/Prepare/Execute. The SQLExecute is done in a loop. It works for a while, but fails within 10 minutes. Changed the program to reconnect every 5 mins, but still seeing this error. It works on SQ.
Have attached simple test program to recreate this. To run on SQ remove the SQLExecDirect calls to set CQDs, those are specific to Traf.