I have created a CL which calls an RPG program. Now I have to create a stored procedure which calls the CL! As RPG normally sends back the output to CL! How should I send back the output to SP? Will SP normally pick it or is there any command to send back the output to stored procedure (SP). I have created the SP by giving the below command in DB2 SQL.
CREATE PROCEDURE xxxxx/SP_xxxx(IN xxx CHAR ( 1), IN xxx CHAR (, OUT output xxxx ( xxxx)) NOT DETERMINISTIC CONTAINS SQL EXTERNAL NAME MDIMODS/CL_OI204 PARAMETER STYLE GENERAL