GPC -

Thought this code would be helpful to the group.  If you are wanting to pull 
out SAS data sets from a CPORT file (*.cpt) you submitted in PopMedNet, modify 
the the "in" and "out" variables appropriately.  Then open up the appropriate 
data set from the "output" folder in SAS, by going to File > Open > Data.


* assign filename "in" to CPORT file "*.cpt";
filename in "\\path\SAS\test\dc.cpt<file:///\\path\SAS\test\dc.cpt>";

libname out '\\path\SAS\test\output\';

* read from "*.cpt" and save in library "out";
proc cimport file=in library=out;
run;



Keith Wanta
WISC
_______________________________________________
Gpc-dev mailing list
[email protected]
http://listserv.kumc.edu/mailman/listinfo/gpc-dev

Reply via email to