The parameter for %PARMNUM is not the name of a procedure-interface parameter.
20
Cause . . . . . : The parameter for built-in function %PARMNUM must be the name of a parameter defined as part of a procedure interface. If the parameter is an array, an index cannot be specified. If the parameter is a data structure, a subfield cannot be specified. If the parameter is a file, a record format cannot be specified.
Recovery . . . : Correct the parameter for built-in function %PARMNUM. Compile again.