I am flagging data, the first item is a number, the rest are flagged characters. Because of the this the number is setting my new variable as number and ignoring the rest of my new characters. Other than changing the number variables to character prior to this step is there anything I can do?
The code is attached,
Thanks for any help, and apologies for any stupidity in the way this rushed question was asked.
Lets Go Bucs
You should define an_flag as character and then use put function as follows.
You should define an_flag as character and then use put function as follows.
I know this was simple but I couldn't be happier. I would not be where I am in my career without this forum.
Thank You,
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.