In the following example, none of the methods in the bonusPout type are a compatible match because they are instance methods. The last method would be compatible if it were a static method; therefore, add the static keyword to its signature to ensure a match.
class-id bonusPout. method-id main STATIC. declare myDel as type myDelegate set myDel to method type bonusPout::calcBonus end method. method-id calcBonus (by value sal1 as binary-long by value sal2 as binary-long) returning finalB as binary-long. ... end method. method-id calcBonus (by value sal1 as binary-long) returning finalB as binary-long. ... end method. method-id calcBonus. ... end method. end class. delegate-id myDelegate. end delegate.