Hi All,
How can I call a stored procedure from a function? I get an error if I try
call JG_FN(retVal);
The error message is:
administrator.C_JG: 9: [IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token "call JG_FN(retVal)" was found following "clare retVal float; ". Expected tokens may include: "<SQL_condition_declaration>". LINE NUMBER=9. SQLSTATE=42601
Thanks and Regards,
Deepak Ajmera