Restores a transport file that was created by the CPORT
||name and location of transport file
||CIMPORT Procedure in
Base SAS Procedures Guide
PROC CIMPORT destination=libref.member-name
identifies the file(s) in the transport
file as a single SAS data set, single SAS catalog, or multiple members of
a SAS library.
Note: You can use the MIGRATE procedure to convert your
SAS files. For more information, see Compatibility of Existing SAS Files with SAS 9.2.
The CIMPORT procedure imports a
file that was created (exported) by the CPORT procedure.
If you have used the CPORT procedure, the CIMPORT procedure
enables you to move catalogs, data sets, and SAS libraries from one operating
environment to another.
Note: The CIMPORT procedure processes a transport file
that was generated by PROC CPORT, not a transport file that was generated
by the XPORT engine. The default record attribute for SAS transport files
has been changed to NONE. This is equivalent to specifying CC=NONE in the
LIBNAME or the FILENAME statement when you create the transport file.
libname newlib 'SAS-library';
filename tranfile 'transport-file';
proc cimport library=newlib infile=tranfile;
PROC CIMPORT reads from disk the transport file TRANFILE that
a previous PROC CPORT created from a SAS library and restores the transport
file to the SAS library NEWLIB.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.