Hello
In following code I get a warning.
WARNING: WORK.TEMPLATE is not a template store! It will be ignored.
Why is this warning coming??
(My version is SAS enterprise 5.1)
data test;
input y ;
cards;
1000
12345
8500
;
run;
ods path(prepend) work.template(update);
proc template;
edit base.summary;
edit mean;
format=dollar12.2;
end;
edit sum;
format=dollar12.;
end;
end;
run;
proc means data=test n mean sum;
var y;
run;
/* restore default template */
proc template;
delete base.summary;
run;
I am looking at my code, and, for some reason, I used
ods path (prepend) work.templat (update);
work.templat is not a typo. When I was writing that code, I had another problem and used Chris Hemedinger's reply to solve it: PROC TEMPLATE Error Message - Unable to Write to Template Store. The link he provided is not working now.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.