I have provided the complete Information.I just created the SP as it is shown above and executed the call.I get the following error
[CALL - 0 row(s), 0.031 secs] [Error Code: -313, SQL State : 07004] The number of host variables in the EXECUTE or OPEN statement is not equal to the number of values required.
... 1 statement(s) executed, 0 row(s) affected, database exec time 0.031 sec [0 successful, 0 warnings, 1 errors]
I did not provide any value for the parameter marker as it is an output paramter for the SQLCODE which is returned .SET out_sqlcode = sqlcode.
I executed and as I said it works on the DB2 Administration Client without the error.It gives the error with runtime clietns.