Dear,
I am in a support team and a set of users from a particular site are having a weird issue of unable to create a text file 'correctly'.
A simple dataset was exported to text file, but when they open text file in Notepad, the data is continuous without spaces but for all of us it displays as usual
However, when user opens that file in WordPad , it displays in a single column correctly.
I have attached "file.jpeg" showing the screenshots in it.
Dataset - see screenshot Dataset
When all of us open in Notepad - See screenshot Normal
Problem when user opens in Notepad - See screenshot Issue
Please see below points:
1)We are on Linux platform, our machine is Windows 7 ,running on SAS EG 6.1 (32-bit)
2) Used both known ways of exporting files
proc export
data=eb1
outfile="/<unixpath>/testfile.txt"
dbms=TAB replace;
putnames=no;
run;
data _null_ ;
set eb1 ;
FILE '/<unixpath>/testfile.txt' ;
PUT ebn2;
run ;
3)
When user creates text file , it opens with incorrect alignment. When we run it,it opens with correct alignment - with same code on same server.
4) proc setinit;run; returns same for all of us
5) The locale details in Windows machine are same.
Notepad is a Windows program; you created your file in Linux. How did you transfer the file from Linux to Windows?
Looks like the transfer did not convert UNIX LF to Windows CR/LF. Notepad can't deal correctly with UNIX text files, Wordpad can.
Notepad is a Windows program; you created your file in Linux. How did you transfer the file from Linux to Windows?
Looks like the transfer did not convert UNIX LF to Windows CR/LF. Notepad can't deal correctly with UNIX text files, Wordpad can.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.