SOLUTION:
To create a Version 6.12 SAS data set or Catalog from
a Version 8 SAS data set or Catalog, create a new subdirectory
(folder), then specify a separate LIBNAME statement for
that new subdirectory (folder)-- which SAS calls a Library --
and add the v612 engine.
libname xyz v612 '~/sas6lib'; /*<--UNIX example **/libname xyz v612 'c:\sas6lib'; /*<--Windows example**/libname xyz v612 'Hard_Disk:Sas6Lib'; /*<--Macintosh example**/
xyz is an arbitrary nickname of your choice,
and sas6lib is an example of the location
you have set up for your Version 6 files.NOTE that when you are using both Version 6 and Version 7 (or later) SAS Data Sets, they must be stored in different Libraries (subdirectories, folders). In this situation, you would use two different LIBNAME statements with the V612 engine specified only on one of them.
After your two LIBNAME statements have been submitted, you can then use PROC COPY or a DATA step to create the new (Version 6) data set or catalog. Here are two complete examples:
DATA STEP Example:
libname abc 'c:\v8files';
libname xyz v612 'c:\sas6lib';
data xyz.oranges; set abc.oranges;
PROC COPY Example:
libname abc 'c:\v8files';
libname xyz v612 'c:\sas6lib';
proc copy in=abc out=xyz;
If you are making a transport file to move your data or catalogs to
another type of system (e.g., Windows to UNIX), you will need to
create a so-called "Version 5" transport file using
PROC COPY and a LIBNAME statement with the XPORT engine.
For instructions and examples, please visit:
http://www.usc.edu/its/doc/statistics/sas/faq/acrossystems/proc-copy.html
For more information on these and other Version 7, 8 and 9 issues,
please visit the following sites: