A stored procedure is a program that can be called using the SQL CALL statement.
DB2® UDB for iSeries™ supports external stored procedures and SQL procedures. External stored procedures can be any system program, service program, or REXX procedure. They cannot be System/36™ programs or procedures. An SQL procedure is defined entirely in SQL and can contain SQL statements including SQL control statements.