CPORT Procedure: Windows

Writes SAS data sets and catalogs into a special format in a transport file.
Windows specifics: Name and location of transport file
See: CPORT Procedure in Base SAS Procedures Guide

Syntax

PROC CPORT source-type=libref| <libref.> member-name<option(s)> ;

Required Argument

This version is a simplified version of the CPORT procedure syntax. For the complete syntax and its explanation, see the CPORT procedure in CPORT Procedure in Base SAS Procedures Guide

libref
specifies the name and location of the file to be transported.

Details

The CPORT procedure writes SAS data sets, SAS catalogs, or SAS libraries to sequential file formats (transport files). Use PROC CPORT with the CIMPORT procedure to move files from one environment to another.
The value of the FILE= option can be a fileref defined in a FILENAME statement, a quoted Windows pathname, or an environment variable.
If you do not use the FILE= option and have not defined the reserved fileref SASCAT, a file named SASCAT.DAT is created in your working directory.
Note: You can use the MIGRATE procedure, beginning with SAS 9.1, to migrate a SAS library from a previous release.

See Also

“Transferring SAS Files between Operating Systems” in the “Using SAS Files” section in SAS Companion for Windows
The MIGRATE procedure and cross-release compatibility at http://www.sas.com/sas.com/migration