The GIVING/RETURNING phrase of the CALL statement is not allowed for a linkage of type PROGRAM.
30
Cause . . . . . : The GIVING/RETURNING phrase of the CALL statement is not allowed when calling program objects (*PGM).
Recovery . . . : Change the linkage of the CALL statement or remove the GIVING/RETURNING phrase.