The SAS CPORT is primarily used for transporting data libraries between machines.  Stat/Transfer will read, but not write, Windows CPORT files for Versions higher than SAS Seven.

Standard extension:  stc


Reading CPORT Files

CPORT files can contain multiple datasets as well as catalogs that contain value labels.  When using the user interface, if you select a CPORT file as input, Stat/Transfer will display a Member selection line below the input File Specification line of the Transfer dialog box (see Selecting Members of SAS CPORT and Transport Files).  You should select the member from which you want to read your data here.


If you are using the command processor, you select the member by using the  '/Tmembername' switch with the Copy command (see Options for Pages and Tables).


If you want to read value labels from the same CPORT file, you can do so by setting the appropriate options (See SAS Value Labels).


Missing Data

Stst/Transfer  supports the SAS missing values 'A' - 'Z', '.' and '._'.


On input, when a SAS file is transferred to a Stata file or an ASCII file with extended missing values specified, the SAS input missing values will be transferred to the equivalent ones in the output file, with the exception that any missing values '._' in the input SAS file will be written out as '.' in the output


For all other output formats, all of SAS's missing values are converted to a single internal missing value in Stat/Transfer.