Examples: Stored procedures
View examples of stored procedures.
Example: Run CL commands that use SQL stored procedures and ODBC
Stored procedure support provides a means to run iSeries™ server Control Language (CL) commands by using the SQL CALL statement.
Example: Stored procedure calls from Visual Basic with return values
The following example of Visual Basic source code shows how to call an iSeries™ server stored procedure and then retrieve the returned values into Visual Basic variables.
Example: Call an iSeries stored procedure by using Visual Basic
The Visual Basic programming examples listed below show a stored procedure call being prepared.
Example: Call CL command stored procedures
It is possible to run iSeries™ server commands by using stored procedures. The two examples that are provided here apply to ODBC programs.
Tips: Run and call iSeries stored procedures
Use these tips for running and calling iSeries™ stored procedures.
Parent topic:
Stored procedures