Usually, this message results when using PROC CPORT and PROC CIMPORT to move files whose name extensions have been changed. For example, an extension on at least one filename in the directory was replaced with an extension that conflicts with the version of SAS that was used to create the file. The filename extension could have been changed using either the DOS rename command or the Windows File Manager. For a list of valid Windows filename extensions by SAS version, see Chapter 11, "SAS Filename Extensions and File Headers," on page 61.
Use the following command syntax to verify a questionable filename extension:
type filename.extension
You can pipe the output through the more command.
Here is an example:
type xportout.sd2 more
You suspect that the filename extension for the SAS 9 data set xportout was incorrectly changed from .sas7bdat to .sd2 .
Note | SAS 9 and 8 filename extensions are identical. |
Output is:
SAS 9.00 WIN 6.09
The right column shows that a filename extension appropriate for SAS 6.09 was incorrectly applied to a SAS 9 file. To fix the problem, you must re-apply the .sas7bdat extension to the filename using the DOS rename command or the Windows File Manager.