
Examples: CIMPORT Procedure
Example 1: Importing an Entire Library
Features: PROC CIMPORT statement option
INFILE=
Details
This example shows how to use PROC CIMPORT to read from disk a transport file,
named TRANFILE, that PROC CPORT created from a SAS library in another operating
environment. The transport file was moved to the new operating environment by means
of communications software or magnetic medium. PROC CIMPORT imports the
transport file to a SAS library, called NEWLIB, in the new operating environment.
Program
libname newlib 'sas-library';
filename tranfile 'transport-file'
host-option(s)-for-file-characteristics;
proc cimport library=newlib ...