Previous Page | Next Page

The CIMPORT Procedure

Example 3: Importing a Single Indexed SAS Data Set


Procedure features:

PROC CIMPORT statement option:

INFILE=


This example shows how to use PROC CIMPORT to import an indexed SAS data set from a transport file that was created by PROC CPORT from a single SAS data set.


Program

 Note about code
libname newdata 'SAS-data-library';
filename trans3 'transport-file'
                 host-option(s)-for-file-characteristics;
 Note about code
proc cimport data=newdata.times infile=trans3;
run;

SAS Log

NOTE: Proc CIMPORT begins to create/update data set NEWDATA.TIMES
NOTE: The data set index x is defined.
NOTE: Data set contains 2 variables and 2 observations. 
      Logical record length is 16

Previous Page | Next Page | Top of Page