This statement can only be embedded in an application program or issued interactively. It is an executable statement that cannot be dynamically prepared. It must not be specified in Java(TM) or REXX.
CONNECT is not allowed in a trigger, a function, or a procedure if the procedure is called on a remote application server.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.