/* converting SPSS protable files into SAS data files
which can then be used with the SAS programs provided
in the website release */

/* note that the library names will need to be altered to
indicate where the SPSS data files are located and where you 
wish the created SAS data files to be stored */

libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\addvar.por';

data y.addvar; set x._first_;

proc means;
run;


libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\tz1new.por';

data y.tz1new; set x._first_;

proc means;
run;


libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\tz2new.por';

data y.tz2new; set x._first_;

proc means;
run;


libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\tz3new.por';

data y.tz3new; set x._first_;

proc means;
run;



libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\wk1new.por';

data y.wk1new; set x._first_;

proc means;
run;



libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\wk2new.por';

data y.wk2new; set x._first_;

proc means;
run;


libname y 'd:\tanzrped\sasdata';
libname x spss 'd:\tanzrped\data\wk3new.por';

data y.wk3new; set x._first_;

proc means;
run;
