Dear Chris,
Do you see any ERROR in the following ?.I am CALL a Stored Procedure in a Cobol Program.
EXEC SQL
CALL :PROCNAME USING DECLARATOR :COSCMNPRD
END-EXEC
IF SQLCODE NOT = ZEROS
DISPLAY "ERROR EN LA INVOCACION DE LA STORE PROCEDURE"
GOBACK.
Compiling SFISERB991C.CBL...
[cobol] 317 GOBACK.
[cobol] COBCH0077S Unexpected end of source within EXEC : C:\\Users\\Pedro\\workspace\\CoreRipley\\PROGRAMAS\\SFISERB991C.CBL(173,7,7)
[cobol] Compilation complete with 1 errors, 0 warnings, 0 notices and an exit code of 12