By default, OpenEdge disconnects all connected databases at the end of a session. To explicitly disconnect a database from an ABL client application, use the DISCONNECT statement. For more information about the DISCONNECT statement, see OpenEdge Development: ABL Reference and OpenEdge Development: Programming Interfaces.
Note: When you have more than one database connected and you disconnect the working database, OpenEdge automatically switches to the next connected database on the list.