|Procedures under UNIX|
|UNIX specifics:||name and location of transport file|
|See:||CIMPORT Procedure in Base SAS Procedures Guide|
|PROC CIMPORT destination=libref | <libref.>member-name <option(s)>;|
Note: This version is a simplified version of the CIMPORT procedure syntax. For the complete syntax and its explanation, see the CIMPORT procedure in the Base SAS Procedures Guide.
Note: Starting in SAS 9.1, you can use the MIGRATE procedure to migrate a SAS library from a previous release. For more information, see Migrating 32-Bit SAS Files to 64-Bit in UNIX Environments, and Migration at support.sas.com/migration.
Typically, the INFILE= option is used to designate the source of the transport file. If this option is omitted, CIMPORT uses the default file Sascat.dat in the current directory as the transport file.
Note: CIMPORT works only with transport files created by the CPORT procedure. If the transport file was created using the XPORT engine with the COPY procedure, then another PROC COPY must be used to restore the transport file. For more information about PROC COPY, see the Base SAS Procedures Guide.
For this example, a SAS library that contains multiple SAS data sets was exported to a file (called transport-file ) using the CPORT procedure on a foreign host. The transport file is then moved by a binary transfer to the receiving host.
libname newlib 'SAS-library'; filename tranfile 'transport-file'; proc cimport lib=newlib infile=tranfile; run;