Usage Note 22747: Do you have any examples of reading a transport file on OpenVMS made by PROC CPORT containing catalogs or a combination of catalogs and data sets?
In the following examples, we are assume that the transport file
made by the CPORT procedure is the same or lower release than your OpenVMS release of SAS.
Note:
PROC CIMPORT cannot read or process a transport file made by PROC COPY or a DATA step with the
XPORT engine or PROC COPY with the SASV5XPT engine or PROC XCOPY.
Note:
A transport file moved to OpenVMS may have a record attribute of carriage control carriage return. OpenVMS
can read transport files with and without this record attribute.
- Example 1:
- In the first example, we read the transport file called PORTFILE.DAT as input and writing to the directory referenced by the libref SASIN all the SAS
data sets and catalogs contained in the transport file.
libname sasin '[username.tech1]';
proc cimport infile='[username.tech1]portfile.dat' library=sasin;
run;
- Example 2:
- In this example, we read the same transport file as in Example 1. However, we are using an alternate way of specifying the location of the transport file.
A FILENAME statement assigns a fileref or nickname to the transport file. We use the fileref or nickname on the INFILE= option of PROC CIMPORT.
libname sasin '[username.tech1]';
filename intrans '[username.tech1]portfile.dat' ;
proc cimport library=sasin infile=intrans;
run;
Operating System and Release Information
| SAS System | Base SAS | OpenVMS VAX | n/a | |
| All | n/a | |
| OpenVMS Alpha | n/a | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | Data Management ==> Administration ==> Migration
|
| Date Modified: | 2008-01-28 14:54:29 |
| Date Created: | 2002-12-16 10:56:51 |