is it possible to create a filename from a value stored in a dataset column? What i'm after is something like:
/*
other code here, assume work.users looks like
user_id
ImageData
*/
data _null_;
set work.users;
file_name=cat('/home/me/', trim(user_id), '.jpg');
file file_name NOPRINT;
put ImageData;
run;
at the moment i'm trying to do it with macros but i'm not having any luck.