A couple people wrote in with advice. Here’s what they said:
“Terri still needs to turn the *Module object into a *Pgm object.”
– Randy Adamski
“When I’ve had this problem it was always because I wasn’t invoking the stored procedure with the required parameters.
This is with the same parameters and the same size and the same type.
“Do you have the stored procedure only one time? If you have created the stored procedure two or more times with different parameters without previously clearing them, then you have more than one stored procedure with the same name.”
– Francesc Ferrada
The first comment is the one that is correct. You can’t create a stored proc directly from a *MODULE object; you need to bind the module into a *PGM (program) first. The stored proc would be created over the program.