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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 2423 views
  • 0 likes
  • 2 in conversation