Problem Note 39578: Aggregate file storage issues when file names contain special characters.
When a FILENAME statement points to a folder and the INFILE statement that uses it adds the specific file to read, errors are generated if the physical file contains special characters like quotes or parentheses.
Prior to SAS 9.2 the only solution was to combine the path and name into either the FILENAME or INFILE statement. With SAS 9.2 and beyond, code similar to the following will work correctly:
filename CSVFILES "C:\junk\";
data _1;
infile CSVFILES("a(asd).txt") dsd;
input A B C;
run;
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS2M2 |
Windows Vista | 9.1 TS1M3 | 9.2 TS2M2 |
Windows Vista for x64 | 9.1 TS1M3 | 9.2 TS2M2 |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2010-05-10 13:43:19 |
Date Created: | 2010-05-10 11:58:28 |