You place a directive (and its method code) after the program code. When you run a program containing directives, Rexx:
Once Rexx has processed the code preceding the directive, any public classes and objects the program defines are available to programs having the appropriate ::REQUIRES directive.