I tried to convert a xpt file called "ae.xpt" into sas file called ae as well. The original file was saved at "D:\sdtm\data_xpt", and I want the converted sas file to be saved at "D:\sdtm\data_sas".
Here was my code, but it didn't work:
libname sasfiles 'D:\sdtm\data_sas';
%let Root=D:\sdtm\data_xpt;
%xpt2loc(libref=sasfiles, memlist=ae, filespec='&root\ae.xpt');
How to write the correct one? Thanks!