Use the following form of SQL CONNECT to establish the current server for the client application process. The current server must be a valid server or a valid Db2 subsystem.
EXEC SQL CONNECT TO :host variable EXEC SQL CONNECT TO location
where:
Is a host variable.
Is an explicit location. For the explicit designation of the current server, the location name must be a valid server or a valid Db2 subsystem.
Upon a COMMIT or ROLLBACK, the Extender for Db2 resolves and dispatches partially-qualified table requests to the current server.
Use the explicit form of SQL CONNECT whenever partially-qualified tables must be resolved to a Server for Db2 or to a server.
WebFOCUS | |
Feedback |