IBM Books

Administrative API Reference

sqledtin - Detach

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.

Version

sqlenv.h

C API Syntax



/* File: sqlenv.h */
/* API: Detach */
/* ... */
SQL_API_RC SQL_API_FN
  sqledtin (
    struct sqlca * pSqlca);
/* ... */
 

Generic API Syntax



/* File: sqlenv.h */
/* API: Detach */
/* ... */
SQL_API_RC SQL_API_FN
  sqlgdtin (
    struct sqlca * pSqlca);
/* ... */
 

API Parameters

pSqlca
Output. A pointer to the sqlca structure. For more information about this structure, see SQLCA.

REXX API Syntax



DETACH

Sample Programs

C
\sqllib\samples\c\dbinst.c

COBOL
\sqllib\samples\cobol\dbinst.cbl

FORTRAN
\sqllib\samples\fortran\dbinst.f

REXX
\sqllib\samples\rexx\dbinst.cmd

See Also

sqleatin - Attach.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]