Specifying the CURRENT Keyword
The DISCONNECT CURRENT statement terminates the current connection. For example, the DISCONNECT statement in the following program fragment terminates the current connection to the database server mydbsrvr:
CONNECT TO 'stores_demo@mydbsrvr';
. . .
DISCONNECT CURRENT;