This situation can arise when both parameters share the same COBOL name, except that one is prefixed with the '#' character.
In the following example, change one of the parameter names in the signature.
class-id MyClass. method-id MyMethod. procedure division using by value p1 as binary-long #p1 as binary-long. end method. end class.