Hi,
I have a dataset imported from excel.Now i need to read a row number say for ex:67 and assign it to macro variable.
How can i do this?
help me in this
Thanks
Do you want to assign the content of some variable in row number 67 or the row number itself. Please be more clear.
Hi,
I need to read the row number eg:67 and assign it to another macro variable.
So when i run the daily,it should get updated every day.
I need to assign row number only.
Thanks
How do you identify this row 67, Is there some criterion ?
If not, you can directly use %let n=67; to save it into a macro variable.
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.