Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL DB/Assist > FAQs

Q4 How do I Connect and Disconnect from the DB/2 Database?

Scroll Prev Top Next More

Before any DB/Assist generated action routines can be executed within your ESL application a call to the subroutine EDB2Connect must be issued. A call to this subroutine will result in one of two stimulus responses. The stimulus EDB2_STARTED will indicate a successful connection to the database, while a EDB2_ERROR indicates an error has occurred while trying to attach to the database. When the application exits it should make a call the EDB2Disconnect routine.

FAQs_dbAssist_Q04