2

I am trying to create a custom template within a program run via Enterprise Guide. However, no matter what I do, I keep getting an error:

ERROR: Template 'MyTemplate' was unable to write to template store!

Is this a permissions issue of some kind?

flag

1 Answer

3

Yes. This is a permissions issue. Using the Workspace Server (i.e. connecting via Enterprise Guide, even if its Locally) causes all SAS sessions to run with the RSASUSER option (which enables sharing of the SASUSER lib).

Add this before your PROC TEMPLATE code. It will set up the default path for templates to a work area.

ODS PATH work.templat(update) sasuser.templat(read)
               sashelp.tmplmst(read);
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.