Frequently Asked Questions: SAS Files
Q. Stat/Transfer won’t read my SAS data file. What’s wrong?
A. First, we don’t support every platform. If your SAS data are not in one of these formats, we cannot read it, and you should use SAS to create a SAS Transport file.
Further, we cannot read data that have been written that have been encrypted. If your data have been written with encryption, you must use SAS to copy the file to an uncompressed and unencrypted format.
Finally, if you are moving the file from another computer, make sure that you use a binary, error-correcting, file transfer protocol.
If your file is in the proper format and you still cannot read it, please report the error using the mechanism on the Log tab of the user interface. The SAS file format has not been publicly documented and there may be aspects of it that we are not supporting properly. Please let us know about any problems you are having so that we can fix them for you and others.
Q. SAS refuses to read the SAS data file created by Stat/Transfer. What should I do?
A. First, make sure that you are writing the proper kind of file for the flavor of SAS you are using and that you are transporting the file properly. Then check our Web site to see if there is a problem that has already been fixed. If you think you have discovered a new problem, please let us know about it so we can fix it.
In the meantime, you can always use the Stat/Transfer output option “SAS Program + ASCII Data File” and then use the generated SAS program to read the ASCII data file into SAS.
SAS Transport Files
Q. Stat/Transfer reports a “dictionary error” or otherwise refuses to read my SAS transport file. What is the matter?
A. Most commonly, particularly when the file is received from others, the problem is that the file is not really a transport file, but, rather, is another kind of system file. You should examine the first part of the file, either in an editor or by simply typing it to the screen. The text “HEADER RECORD*********LIBRARY HEADER RECORD” should appear at the beginning of the file. If it does not, it is not a transport file. You should refer to the Stat/Transfer manual or SAS’s documentation to find out how to create a transport file in SAS.