UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

SAS Code Fragments
Making a SAS CPORT File

* make output left justified (not centered);
options nocenter;

* assign libname containing input data;
* change path to refer to your input data;
libname in '/local2/samples/sas/ats/';

* assign filename for output cport file, placing it in /work ;
* /work is for temporary storage, use your directory for permanent storage;
filename out '/work/winners.cport';

* use proc cport to copy in.winners into /work/winners.cport ;
* change winners to the name of your sas data member;
proc cport data=in.winners file=out;
run;

How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California