|
Before you can use the DataBlade API to communicate with the database server, you must make sure that it is initialized. When you establish a connection, the DataBlade API function automatically initializes the DataBlade API. However, if your DataBlade API module does not establish a connection, it must still ensure that it initializes the DataBlade API.
Important: If the DataBlade API was not initialized, calls to subsequent DataBlade API functions generate errors.
Figure 7-7 lists the functions that can initialize the DataBlade API.
Figure 7-7
One of the functions listed in Figure 7-7 must be the first DataBlade API function called in a DataBlade API session. If you do not call one of these functions, the DataBlade API is not initialized and all subsequent DataBlade API calls return error status.