Learning SAS? Welcome to the exclusive online community for all SAS learners.

Saving custom template to Template Store

Reply
New Contributor
Posts: 3

Saving custom template to Template Store

[ Edited ]

I have created my own custom ODS template using SASWEB as the base. I call it SaMsWeB. I have used it in desktop Base SAS without any issues. However when I run it in SAS University Edition i get the following error message:

 

%let macrolocation=/folders/myfolders/CSS4WinMac;
filename util "&macrolocation./util.sas";%include util / NOsource2;

 

56         %let macrolocation=/folders/myfolders/CSS4WinMac;
 57         filename util "&macrolocation./util.sas";%include util / NOsource2;
 SYMBOLGEN:  Macro variable MACROLOCATION resolves to /folders/myfolders/CSS4WinMac
 ERROR: Template 'Tagsets.ExcelBase' was unable to write to template store!
 ERROR: Template 'Tagsets.Config_debug' was unable to write to template store!
 ERROR: Template 'Tagsets.ExcelXP' was unable to write to template store!
 WARNING: Errors were produced.
 WARNING: No matching members in directory.
 ERROR: Write access to member SASUSER.TEMPLAT.ITEMSTOR is denied.
 ERROR: Template 'Styles.SaMsWeB' was unable to write to template store!
 WARNING: Errors were produced.

Pls help in understanding what do I need to differently for University Edition.

 
Attachment
Attachment
Contributor
Posts: 20

Re: Saving custom template to Template Store

Posted in reply to AbhishekSamanta

One cannot write to the default sasuser libname.  Your program will work if you overwrite the default sasuser with a line like

 libname sasuser "/folders/myfolders/SAS-site/sas7b";

 

I have put that line in my autoexec.sas.

 

Paul

Ask a Question
Discussion stats
  • 1 reply
  • 733 views
  • 0 likes
  • 2 in conversation