In the following example, there is no instance method with the named parameter param1. Either code an instance method that contains a named parameter called param1, or in this instance, rename the parameter paramx.
class-id runAlarm. method-id aSet. declare a1 = new runAlarm invoke a1::runSet(parameter param1 = "Alarm Set") end method. method-id runSet(paramx as string). display paramx end method. end class.