sqledtin API - Detach from instance
Removes the logical instance attachment, and terminates the physical communication connection if there are no other logical connections using this layer.
Authorization
None
Required connection
None. Removes an existing instance attachment.
API include file
sqlenv.h
API and data structure syntax
SQL_API_RC SQL_API_FN
sqledtin (
struct sqlca * pSqlca);
SQL_API_RC SQL_API_FN
sqlgdtin (
struct sqlca * pSqlca);
sqledtin API parameters
- pSqlca
- Output. A pointer to the sqlca structure.
REXX API syntax
DETACH