Hi,
want create macro varibale from dataset and this macro varible value has to assign same dataset another varible value
llike below data set 'Test' ;
varible_01 varible _02
xxxx yyyyyyy
zzzz ccccccc
ffffff ggggggg
want to assing macro varible 'xxxxx' value as 'yyyyyy'
from each Varible_01 observation convert macro varble and it's value has to assign vairible_02 value
Thanks
CALL SYMPUT() within a data _null_ step. The documentation has examples.
Just google for "call symput". You'll get a tankerload of hits.
Narrowing it down with "sas 9.4 call symput" is even more on target.
You need to refine your google-fu.
I normally restrict my search to support.sas.com
The following Google term should give you quite a good result:
site:support.sas.com 9.4 call symput
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.