sqllogout() — Terminate a Progress ESQL Session
Logs out of the ESQL session and returns control to the ESQL application.
This function returns normalized values. For more information, see the function return values in the "General Diagnostics" section in this chapter:
exitst
This parameter is ignored.
NOTES
EXAMPLE
- If your application is logged in to Progress,
sqllogout()
logs out of Progress, terminating all connections to databases. If the last transaction is uncommitted, Progress rolls it back.- Prior to Version 7, the Host Language Interface (HLI) redefined the standard C
exit(exitst)
function assqllogout(exitst)
becausesqllogout(exitst)
was designed to exit the application if it was passed a non-zero value in exitst. This redefinition ofexit(exitst)
no longer occurs. A call tosqllogout(exitst)
no longer exits but returns to your application for any value of exitst. Therefore, you must follow each call tosqllogout(exitst)
that you previously intended to exit with a call toexit(exitst)
.This example logs out of Progress, and returns control to the application:
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |