Why Can’t SAS Read My CSV file?

Many SAS users receive data in the form of CSV (Comma Separated Value) files, and need to convert them to SAS data sets. A typical record in a CSV file might look like this:Jeter,Derek,1995,,234,”22,600,000”

Note the following about the reco…

Rename all vars in a dataset using SASHELP

*Create a temporary dataset… DSN;data dsn;a=1;b=2;c=3;d=4;e=5;f=6;run;%macro test(lib,dsn);*/1)*/ data _null_;&nbsp &nbsp &nbsp set sashelp.vtable(where=(libname=”&LIB” and memname=”&DSN”));&nbsp &nbsp &nbsp call symput(‘nvars’,nvar);run;*/2)*/ data …