/*This program converts a dataset created using Windows/SAS version 6 to SAS version 9. The DATECOPY preserves the original creation date, which displays in PROC CONTENTS. pmb 11/11/2005*/ libname sd2 v6 'T:\PMB9\sd2\'; libname ssd v9 'T:\PMB9\'; proc copy in=sd2 out=ssd datecopy; run; /*Change the file names of the version 9 datasets*/ proc datasets lib=ssd; change psam_hus=psam_hus02; change psam_p36=psam_pny02; change psam_pus=psam_pus02; run;