Previous Page | Next Page

Procedures under OpenVMS

CIMPORT Procedure: OpenVMS



Restores a transport file that was created by the CPORT procedure.
OpenVMS specifics: name and location of transport file
See: CIMPORT Procedure in Base SAS Procedures Guide

Syntax
Details
Example
Importing an Entire Library from a Disk
See Also

Syntax

PROC CIMPORT destination=libref.member-name <option(s)>;

destination

identifies the file(s) in the transport file as a single SAS data set, single SAS catalog, or multiple members of a SAS library.


Details

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.  [cautionend]

The CIMPORT procedure imports a transport 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.  [cautionend]


Example


Example 1: Importing an Entire Library from a Disk

libname newlib 'SAS-library';
filename tranfile 'transport-file';
proc cimport library=newlib infile=tranfile;
run;

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.


See Also

Previous Page | Next Page | Top of Page