Execute a parameterized procedure

To execute a parameterized user-defined procedure, you can use the EXECUTE...USING SQL DESCRIPTOR statement to provide the argument values from a system-descriptor area and to execute the procedure. You handle the input parameters of a user-defined procedure in the same way you handle input parameters in a noncursor function. The only difference between the execution of the EXECUTE PROCEDURE statement and the EXECUTE FUNCTION statement (for a noncursor function) is that you do not need to specify the INTO clause of the EXECUTE...USING SQL DESCRIPTOR statement for the user-defined procedure.