Stored procedure calls

IBM® DB2® supports stored procedures as a saved collection of SQL statements, which can accept and return user-supplied parameters.

IBM DB2 stored procedures can also produce one or more result sets.

To create a stored procedure in an IBM DB2 database, use the CREATE PROCEDURE statement. See reference documentation for more details.