Hi,
Is it possible to replace an empty char variable with a specific string ? I know the replace function but I have to combine it with something else. Is there a kind of COALESCEC in SAS VA? we are running 7.3.
Thanks in advance.
Hi!
IF missing([var]) RETURN 'Missing value!'
ELSE [var]
???
//Fredrik
Hi!
IF missing([var]) RETURN 'Missing value!'
ELSE [var]
???
//Fredrik
It works!!!! thanks
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.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.