|
SAS Gurus,
I have a variable called ay which looks like this: 2001-2002. I want to
use it as part of a filename, so I need to get rid of the hyphen or
(preferably) replace the hyphen with an underline. I'm doing this in a
macro, so I need a step that does something like this:
data &c&cno&(translate(&ay,'-','_'));
set etc...
So that the macro creates a filename like:
data ART1022001_2002;
How does one accomplish this feat?
Pat Moore
|