The SAS Output Delivery System and reporting techniques

proc template error message

Regular Contributor
Posts: 171

proc template error message

I've been getting the following error message anytime I use the template procedure:

Error: Template 'Styles.Custom' was unable to write to the template store!

Prior to a month ago, I had never seen this error message. Now I get the error every time I use the template procedure. Can anyone tell me what might be the cause? I suspect that this error might be hardware related.
Frequent Contributor
Posts: 103

Re: proc template error message

Did your ODS PATH statement change, or did the file protection on the default write library change?

Perhaps you are trying to write to SASHELP or some other location you can't by default write to.
Regular Contributor
Posts: 171

Re: proc template error message

Posted in reply to JackHamilton
Thanks for your response.

The ODS PATH statement did not change. SASUSER is the first library on the ODS PATH list, followed by SASHELP. There have been no file protection changes.
Posts: 9,364

Re: proc template error message

Are you by any chance sharing SASUSER with another id or with another job you have setup? Could any other process or user hold SASUSER open? This note talks about how you can get sharing violation errors:

Or, is there any chance that your template code is trying to parent from itself?

Are you running SAS/IntrNet???

The bottom line, I think, might be to open a track with Tech Support so they can help you get to the solution for the problem.

Regular Contributor
Posts: 171

Re: proc template error message

Posted in reply to Cynthia_sas
Yes. Another user recently installed SAS on their computer. Because we share many of the same programs, her config file was changed so that her SASUSER library was in the same physical location as mine. I never thought that their SAS installation could cause error messages on my machine.

Ask a Question
Discussion stats
  • 4 replies
  • 3 in conversation