BookmarkSubscribeRSS Feed
TiagoPA
Calcite | Level 5

Um exemplo simples  para quem está começando e que uso com frequência para Mês e Ano:

data _null_;
call symput('m', put(month(TODAY()),Z2.));
run;
%let m=&m.;
data _null_;
call symput('y', put(year(TODAY()),Z4.));
run;
%let y=&y.;
 
Muito legal o evento, parabéns a todos !
Espero que tenhamos um "Macro 2" com mais pontos e exemplos.
 
Att
 
Tiago

 

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!
Discussion stats
  • 0 replies
  • 432 views
  • 1 like
  • 1 in conversation