07-08-2015 06:40 AM
I run a script everyday. And the below variable assigned is changed everyday. I want to avoid manually changing.
How to automate the variable assignment to today()? Using the minimal coding.
Something like this %let currdt=put(today(),yymmdd10.)?
If I use DATA _NULL_ then the variable can only be used inside the datastep. This variable will be used everywhere in script.
07-08-2015 07:55 AM
As you are not creating any dataset, there is no need to use output statement in the code.
call symputx('currdt' ,put(today(), yymmddn8.));
Need further help from the community? Please ask a new question.