Previous Page | Next Page

The CPORT Procedure

Example 3: Exporting a Single SAS Data Set


Procedure features:

PROC CPORT statement option:

FILE=


This example shows how to use PROC CPORT to export a single SAS data set.


Program

 Note about code
libname source 'SAS-data-library';
filename tranfile 'transport-file'
                   host-option(s)-for-file-characteristics;
 Note about code
proc cport data=source.times file=tranfile;
run;

SAS Log

NOTE: Proc CPORT begins to transport data set SOURCE.TIMES
NOTE: The data set contains 2 variables and 2 observations. 
      Logical record length is 16.
NOTE: Transporting data set index information.

Previous Page | Next Page | Top of Page