BookmarkSubscribeRSS Feed
Ronein
Onyx | Level 15

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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