05-27-2014 06:20 AM
Please find the below requirements.
Need to read a file name which has MULTILINGUAL characters (abcdégée.txt).
filename xyz "c:\abcdégée.txt";
input a $1-500;
Getting and ERROR : INVALID OPEN MODE error.
ERROR : ERROR IN FILENAME STATEMENT.
05-27-2014 06:31 AM
Sorry, the below worked fine in my Base SAS 9.3 session:
filename xyz "S:\Temp\Rob\abcdégée.txt";
length a $500;
infile xyz dsd;
input a $;
05-27-2014 06:40 AM
Perhaps you could post a truncated version of what you are trying to import (which still gives the error) as I suspect there is something in the file you are trying to import which is causing the problem (it shouldn't matter the file extension as .sas files are text).
05-27-2014 07:57 AM
You get an invalid open mode. Maybe you have a problem with access rights, or the file is currently held open by another process for writing.