BookmarkSubscribeRSS Feed
Ronein
Meteorite | Level 14

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;
1 REPLY 1
pink_poodle
Barite | Level 11

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.

Ready to join fellow brilliant minds for the SAS Hackathon?

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!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1886 views
  • 0 likes
  • 2 in conversation