The SqlHandle class / base.SqlHandle methods |
Opens the SQL handle (SELECT or INSERT cursor).
open()
Call the open() method to execute the prepared SQL statement, and open the result set cursor or insert cursor.
The SQL statement must have been prepared with a prepare() call.
As with standard Genero SQL instructions, SQL errors can be trapped with WHENEVER ERROR or TRY / CATCH blocks and by testing SQLCA.SQLCODE.
CALL sh.open()