Drops a database at a specified database partition server. Can only be run in a partitioned database environment.
This API only affects the database partition server on which it is called.
None. An instance attachment is established for the duration of the call.
sqlenv.h
SQL_API_RC SQL_API_FN
sqledpan (
char * pDbAlias,
void * pReserved,
struct sqlca * pSqlca);
SQL_API_RC SQL_API_FN
sqlgdpan (
unsigned short Reserved1,
unsigned short DbAliasLen,
struct sqlca * pSqlca,
void * pReserved2,
char * pDbAlias);
Improper use of this API can cause inconsistencies in the system, so it should only be used with caution.
This API can be called from REXX through the SQLDB2 interface.