You place any directives (and their method code) after all other 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 for other programs (having the appropriate ::REQUIRES directive) to use.