TOPIC: NINTENDO SWITCH
Working with the ODS templates and styles when batch processing
8th December 2008I ran into some trouble with creating new templates and styles while running a SAS job in batch mode. The cause was the user of the RSASUSER
switch on the SAS command. This sets the SASUSER library to be read-only, and that is what is used to store new templates and styles by default. The fix is to switch these to another library to which there is write-access, WORK, for example. Here's the line of code that achieves the manoeuvre:
ODS PATH work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);
Apparently, the same change might be needed for stored processes too, so it's one to keep in mind.