I have a stored procedure of type - C37NSP31. I have a requirement to call a cobol module (Non DB2) from the stored procedure and perform validations based on the return code from the API. Is that possible using the normal call statements like
CALL WS-API USING API-REQUEST-RESPONSE.
I tried the above but the stored procedure is returning the error code of -430.
Can you please provide an example that invokes a COBOL module from a COBOL stored Procedure ?