Previous Page | Next Page

SAS Procedures under Windows

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
Details
See Also

Syntax

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

Note:   This version is a simplified version of the CPORT procedure syntax. For the complete syntax and its explanation, see the CPORT procedure in Base SAS Procedures Guide.  [cautionend]

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


See Also

Previous Page | Next Page | Top of Page