Statement Handle
Before your ESL application can submit a SQL statement, it must allocate a statement handle for the statement. To allocate a statement handle, you must:
1. Declare an ESL integer variable to contain the statement handle.
2. Call EDSAllocStmt and pass the variable. The driver returns the statement handle in the variable.