I did not know that you can an EU file using SAS, just tried it and it worked. Really appreciated... But I would also like to know how to rename multiple files that resides in the same UNIX directory. I used the below piece of code in windows environment and it worked.. filename ren pipe "dir C:\Users\Desktop\FBM\FILES\NEW\*.EU /b /s"; /*To get the corresponding new file names*/ data ren; infile ren; input old : $250.; new=tranwrd(old,".EU",'.TXT'); run; /*To rename them all*/ data _null_; set ren; rc=rename(old, new, 'file'); put rc; run;
... View more