In the example below, you must remove the PERFORM and the GO TO statements from the delegate declaration.
class-id MyClass. method-id main static. 01 del type MyDelegate. set del to delegate perform s1 *> must be removed go to exit-para *> must be removed end-delegate goback. s1 section. display "Start". s2 section. exit-para. goback. end method. end class. delegate-id MyDelegate. end delegate.