@JackieJ_SAS wrote:
...
Then, instead of having to run st100d05.sas every time you open SAS, you can use this code below in order to access the stat1.formats format catalog. This is the same code you mentioned in your reply:
options fmtsearch = (stat1);
Good luck with the course!
Note that over the years SAS made it easier to update the values of options like FMTSEARCH that take a list of values by adding the APPEND and INSERT options.
So to add the STAT1.FORMATS catalog to the end of the FMTSEARCH list of catalogs use one of these two statements.
options append=fmtsearch=stat1;
options append=fmtsearch=stat1.formats;
You should end up with FMTSEARCH option that looks like this:
293 %put %sysfunc(getoption(fmtsearch));
(WORK LIBRARY STAT1)
https://documentation.sas.com/doc/en/pgmsascdc/v_063/lesysoptsref/p1q9ay0ai0h2ein1n68qxomnm3q7.htm
Comparisons
The APPEND= system option adds a new value to the end of the current value of the AUTOEXEC, CMPLIB, FMTSEARCH, SASHELP, MSG, MAPSGFK, SASAUTOS, SASSCRIPT, or SET system options. The INSERT= system option adds a new value as the first value of one of these system options.
... View more