If you want to create an SQL or SPL procedure that is similar to an existing procedure in your IBM database, you can base the new procedure on the existing procedure definition.
To create an SQL or SPL procedure from an existing procedure:
The IBM Procedure Designer opens, with the information for the selected procedure displayed in the fields of the designer. The values in the Procedure name and Specific name fields contain an incremental numeric suffix.
For detailed information about the fields in the designer views, see IBM Procedure Designer.
The SQL or SPL procedure is created and added to your database.
Developing IBM Database SQL and SPL Procedures | DB2 SQL Procedures | Informix SPL Procedures | Managing Procedures, Functions, and Objects