In the following example, the param p1 = "Hello" parameter must be declared after the "bye" parameter.
class-id myClass. method-id main static. invoke self::myMethod(param p1 = "Hello", "bye") end method. method-id myMethod static. procedure division using by value p1 as string, p2 as string. end method. end class.