Chapter Contents

Previous

Next
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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.