Stored Procedures
Stored procedures are encapsulated by class
RWDBStoredProc. The implementation of stored procedures by the DB Access Module for DB2 CLI provides full support for DB2 stored procedures. This includes support for:
creating or registering stored procedures
retrieving stored procedure text and parameter definitions
executing stored procedures
processing multiple result sets, output parameters, and return values
DB2 CLI supports stored procedures written in the SQL language as well as external procedures written in other languages. Please see the DB2 CLI documentation for details regarding stored procedures written in languages other than SQL.