Error with ODS and Proc Template - RunSubmit.com most recent 30 from http://www.runsubmit.com 2010-07-29T20:04:25Z http://www.runsubmit.com/feeds/question/179 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://www.runsubmit.com/questions/179/error-with-ods-and-proc-template Error with ODS and Proc Template SAS-L 2009-12-29T22:56:31Z 2009-12-29T22:59:39Z <p>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:</p> <pre><code>ERROR: Template 'MyTemplate' was unable to write to template store! </code></pre> <p>Is this a permissions issue of some kind?</p> http://www.runsubmit.com/questions/179/error-with-ods-and-proc-template/180#180 Answer by jay.l.stevens for Error with ODS and Proc Template jay.l.stevens 2009-12-29T22:59:39Z 2009-12-29T22:59:39Z <p>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).</p> <p>Add this before your <code>PROC TEMPLATE</code> code. It will set up the default path for templates to a work area.</p> <pre><code>ODS PATH work.templat(update) sasuser.templat(read) sashelp.tmplmst(read); </code></pre>