Chapter Contents

Previous

Next
CPORT

CPORT



Writes SAS data sets and catalogs into a special format in a transport file

Windows specifics: Name and location of transport file


Syntax
Details
See Also

Syntax

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

Note:   This is a simplified version of the CPORT procedure syntax. For the complete syntax and its explanation, see the CPORT procedure in 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 data 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.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.