A CALL statement expected a return value from a program that does not return a value or visa versa.
30
Cause . . . . . : A CALL statement specified a GIVING/RETURNING phrase for program %1, that does not return a value, or the CALL statement did not have a GIVING/RETURNING phrase but the program returns a value.
Recovery . . . : If a program returns a value, from the PROCEDURE DIVISION header RETURNING phrase, the CALL statement must specify a GIVING/RETURNING phrase. If a program does not have a PROCEDURE DIVISION header RETURNING phrase then the CALL statement should not have a GIVING/RETURNING phrase.