Chapter Contents |
Previous |
Next |
CIMPORT |
Language element: | procedure |
OpenVMS specifics: | name and location of transport file; using a transport file on tape |
Syntax | |
Details | |
Examples | |
Example 1: Importing an Entire Data Library from a Disk | |
Example 2: Importing an Entire Data Library from a Tape | |
See Also |
Syntax |
PROC CIMPORT destination=libref.member-name<option(s)>; |
Details |
The CIMPORT procedure imports a transfer file that was created (exported) by the CPORT procedure.
If you have used the CPORT procedure, the CIMPORT procedure allows you to move catalogs, data sets, and SAS data 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.
Examples |
libname newlib 'SAS-data-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 data library and restores the transport
file to the SAS data library NEWLIB.
x 'alloc tape-drive sastape'; x 'mount/for sastape'; libname newlib 'SAS-data-library'; filename tranfile 'sastape'; proc cimport library=newlib infile=tranfile tape; run;
PROC CIMPORT reads from tape the transport file TRANFILE that PROC CPORT (using the TAPE option) created from a SAS data library and restores the transport file to the SAS data library NEWLIB.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.