Informix Stored Procedure Language (SPL) is an extension to SQL that provides flow control such as looping and branching. An SPL procedure is a routine written in SPL and SQL that does not return a value.
SPL procedure definitions provide the following information:
Important: If you use Visual Studio 2008, do not create stored procedures with names that are longer than 39 characters. Stored procedures with names that are longer than 39 characters can cause errors when you use the Visual Studio 2008 debugger and other components.
The following code shows an example CREATE PROCEDURE statement for a simple SPL procedure:
CREATE PROCEDURE add_price (arg INT);
Developing IBM Database SQL and SPL Procedures | IBM Procedure Designer | Managing Procedures, Functions, and Objects