RNF3396

The RTNPARM keyword is only allowed if there is a returned value.

20

Cause . . . . . : When the procedure does not return a value, the RTNPARM keyword cannot be specified.

Recovery . . . : Remove the RTNPARM keyword, or specify a return value for the procedure. Compile again.