Hi all, I am not a SAS user at all, so please I apology if my question is a bit stupid. I was given access to data in SAS format and I want to covert it to Stata (.dta), which is the software I am more comfortable with (btw, I cannot do it using the usesas command in Stata because the data is stored in a computed with no access to internet, so I am unable to download user-written commands). I can do it file by file, with the following code: libname in 'folder_sas_data';
data temp;
set in.file_name;
proc export data=temp outfile='folder_stata_data/file_name.dta';
run; However, there are thousands of files with different names that do not follow a clear pattern. Ideally I would like to access to all SAS files in the folder_sas_data directory, and open each of them and export them in dta format. Any clue on how can I do this? Thank you very much
... View more