You could do something like:
/* Set up dir list - change for your operating system */
filename tmp pipe 'dir "c:/root_location" /b';
/* Read list of files in and for each one execute a system command to rename */
data _null_;
length buff want str $200;
infile tmp;
input buff $;
want=catx("_","client",scan(buff,2,"/"));
str=cat('x ',"'",'ren ','"c:/root_location/',strip(buff),'" "c:/root_location/',strip(want),'"');
call execute(str);
run;
filename tmp clear;
Do note, that is based on Windows, and I have nothing to test it on. But something like that should work. Its just a matter of pulling in a list of file names, then using call execute to shoot out a rename from to.
... View more