Changing Function Return Behavior
In Version 6, an HLI function can image-exit under certain conditions (for example, if a fatal Progress error occurs). In Version 9, all ESQL-LIB functions return control to the application, regardless of conditions. If a fatal Progress error occurs, the application recognizes this from an SQLCODE value of -99 and can take appropriate action on its own. In this case, further calls to all ESQL-LIB functions, except
sqlgetmsg()
, have no effect.Also unlike Version 6, a Version 9 call to
sqllogout()
does not exit, but returns control to your application. Carefully check all of your calls tosqllogout()
. If your application expects to exit at that point,exit()
following the call tosqllogout()
. Note also that in Version 7 and Version 8, theexit()
function is no longer redefined to callsqllogout()
;exit()
now has its standard C run-time library behavior.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |