Usage Note 499: Transporting catalogs from Version 6 to SAS 8 or 9
You can use the V6 engine on a LIBNAME statement in SAS 8 or SAS 9 and
access a Version 6 catalog but it will be read only. This means you can
run your SAS/AF or SAS/FSP applications without having to convert them.
If you want to make any changes to your application, you will need to
convert the application to SAS 8 or SAS 9 format.
We recommend that you use the CPORT and CIMPORT procedures to convert a
Version 6 SAS/AF or SAS/FSP application to SAS 8 or SAS 9. This produces
a SAS 8 or SAS 9 catalog and all the entries in the resulting catalog
are in SAS 8 or SAS 9 format.
You can be in SAS 8 or SAS 9 and do the entire CPORT/CIMPORT process
there unless you are running SAS under AIX. See SAS Note #000069 for
more information.
To convert Version 6 catalogs to SAS 8 or SAS 9 format, use the V6
engine when you refer to your Version 6 library on the CPORT statement.
You would use the V8/V9 engine when you refer to your new SAS 8 or SAS 9
library on the CIMPORT statement.
For example: the following statements are submitted in SAS 8:
/* make library assignments for the Version 6 library, V6LIB */
/* and the SAS 8 library, V8LIB. */
libname v6lib v6 'path-to-v6-library';
libname v8lib v8 'path-to-v8-library';
/* Create a transport file for the Version 6 catalog, V6LIB.MYCAT.*/
proc cport cat=v6lib.mycat file='myxpt.xpt';
run;
/* Import the newly created transport file to produce V8LIB.MYCAT.*/
proc cimport cat=v8lib.mycat infile='myxpt.xpt';
run;
It is possible to use PROC COPY to produce a SAS 8 or SAS 9 catalog from
a Version 6 catalog. But the entries in the new SAS 8 or SAS 9 catalog
are still in Version 6 format. As the entries are updated, they will be
changed to SAS 8 or SAS 9 format but those entries that are never
updated are never changed. Therefore, we recommend that you use PROC
CPORT and PROC CIMPORT to convert catalogs from Version 6 to SAS 8 or
SAS 9 instead of PROC COPY.
A good paper on the topic of V6 to SAS 8 compatibility is James Holman's
SUGI23 paper entitled "SAS Data Libraries: V6 to V7 Compatibility (or,
will Version 7 be able to access my Version 6 files? ". A customer can
download this paper from the web by using the URL below:
http://ftp.sas.com/techsup/download/v7papers/DataLibraries.pdf
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS/AF | Microsoft Windows 2000 Professional | 8 TS M0 | |
| Microsoft Windows 95/98 | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| z/OS | 8 TS M0 | |
| OS/2 | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| ABI+ for Intel Architecture | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| HP-UX | 8 TS M0 | |
| CMS | 8 TS M0 | |
| OpenVMS Alpha | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | |
*
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.
| Date Modified: | 2007-10-24 13:10:50 |
| Date Created: | 1999-03-24 00:00:00 |