supports the SHORTFILEEXT
option, although it is not documented. If you use this option, you
have Read and Write access to your existing short-extension files.
do not support any
access to short-extension files. You can use PROC COPY in SAS 8 to
copy the short file extensions to standard file extensions before
migrating your files to SAS®9.
As an alternative to
PROC COPY, if you are comfortable using operating system commands
or file management tools, you can manually change the file's extension
to the standard extension. The content of a short-extension file is
identical to the content of a standard-extension file. The use of
operating system commands is not supported by SAS.
support Read-Only access
to existing short-extension files. You can migrate your library to
the current release of SAS by using PROC MIGRATE. You must specify
the SHORTFILEEXT option in the LIBNAME statement for the source library.
The files are written to the target library with standard extensions;
the files support full access.
For example, a library
named MYLIB contains two files with short extensions: a SAS data set
named
mydata.sd7
and a catalog
named
mycat.sc7
. Use the
following code to migrate the library to SAS
®9:
libname mylib v8 'source-library-pathname' shortfileext;
libname newlib v9 'target-library-pathname';
proc migrate in=mylib out=newlib;
run;
After migration, the target library NEWLIB contains
two files with standard extensions: a SAS data set named
mydata.sas7bdat
and
a catalog named
mycat.sas7bcat
.
If your library also
contains standard-extension files, then perform an additional migration
without the SHORTFILEEXT option in the LIBNAME statement to migrate
those files. Make sure that no short-extension files have the same
name as a standard-extension file. In the target library, all files
have a standard extension. If a short-extension file and a standard-extension
file have the same name and same member type in the target library,
the second one fails to migrate.