Verifies whether a node is being used by a database. A message is returned, indicating whether the node can be dropped.
Scope
This API only affects the node on which it is issued.
Authorization
One of the following:
Version
sqlenv.h
C API Syntax
/* File: sqlenv.h */ /* API: Drop Node Verify */ /* ... */ SQL_API_RC SQL_API_FN sqledrpn ( unsigned short Action, void * pReserved, struct sqlca * pSqlca); /* ... */ |
Generic API Syntax
/* File: sqlenv.h */ /* API: Drop Node Verify */ /* ... */ SQL_API_RC SQL_API_FN sqlgdrpn ( unsigned short Reserved1, struct sqlca * pSqlca, void * pReserved2, unsigned short Action); /* ... */ |
API Parameters
SQL_DROPNODE_VERIFY
REXX API Syntax
This API can be called from REXX through the SQLDB2 interface. See How the API Descriptions are Organized, or the Application Development Guide. For a description of the syntax, see the Command Reference.
Usage Notes
If a message is returned, indicating that the node is not in use, use the db2stop command with DROP NODENUM to remove the entry for the node from the db2nodes.cfg file, which removes the node from the database system.
If a message is returned, indicating that the node is in use, the following actions should be taken:
See Also
sqlepstp - Stop Database Manager.