Data visualization with SAS programming

ERROR: Unable to restore <Template> from template store!

Reply
New Contributor
Posts: 2

ERROR: Unable to restore <Template> from template store!

ran the following code:

proc template;
define statgraph mypraphs.pie;
begingraph;
layout region;
piechart category=type / start=90 centerfirstslice=1;
endlayout;
endgraph;
end;
run;

ods graphics / reset imagemap;


proc sgrender template=mygraphs.pie data=sashelp.cars;
run;

ods graphics /reset;

proc freq data=sashelp.cars;
tables type;
run;

and getting ERROR: Unable to restore 'mygraphs.pie' from template store!

 

I am nw to SAS. Can anyone help!

Frequent Contributor
Posts: 86

Re: ERROR: Unable to restore <Template> from template store!

There is a spelling mistake in the second line of code:

 

define statgraph mypraphs.pie;

 

 

Norman.
SAS 9.4 (TS1M4) X64_7PRO WIN 6.1.7601 Service Pack 1 Workstation

New Contributor
Posts: 2

Re: ERROR: Unable to restore <Template> from template store!

thanks buddy!!

Ask a Question
Discussion stats
  • 2 replies
  • 182 views
  • 0 likes
  • 2 in conversation