Keyword not allowed for prototype or procedure interface that does not return a value.
20
Cause . . . . . : The DIM, ALTSEQ, and RTNPARM keywords are not valid if the prototype or procedure-interface definition does not have a return value specified. The keyword is ignored.