| Valid in: | Anywhere |
| Category: | Data Access |
filename _temp1_ temp;
filename _temp2_ clipbrd;
proc contents data=Sashelp."Air"N out=info noprint;
proc sort data=info;
by npos;
run;
data _null_;
set info end=eof;
;
file _temp1_ dsd;
put name @@;
if _n_=1 then do;
call execute("data _null_;
set Sashelp.""Air""N;
file _temp1_ dsd mod;
put");
end;
call execute(trim(name));
if eof then call execute('; run;');
run;
data _null_;
infile _temp1_;
file _temp2_;
input;
put _infile_;
run;
filename _temp1_ clear;
filename _temp2_ clear;