I read it from here (step 3 below), which seems to be talking about something slightly different than a fileref. I'll just store in a fileref and forget about using a CATALOG argument, though it would have been interesting to try the latter. https://v8doc.sas.com/sashtml/macro/z1328769.htm Using SAS Catalogs as Autocall Libraries In Release 6.11 or later, you can use the CATALOG access method to store autocall macros as SOURCE entries in SAS catalogs. To create an autocall library using a SAS catalog, follow these steps: Use a LIBNAME statement to assign a libref to the SAS library. Use a FILENAME statement with the CATALOG argument to assign a fileref to the catalog that contains the autocall macros. For example, the following code creates a fileref, MYMACROS, that points to a catalog named MYMACS.MYAUTOS: libname mymacs 'SAS-data-library';
filename mymacros catalog 'mymacs.myautos'; Store the source code for each macro in a SOURCE entry in a SAS catalog. (SOURCE is the entry type.) The name of the SOURCE entry must be the same as the macro name. Set the SASAUTOS system option to specify the fileref as an autocall library. For more information, see SASAUTOS in Chapter 13.
... View more