Hi everyone,
Thank you for taking the time to read this problem.
We have moved over from using a Windows based computer with SAS Base 9.4 to Unix Enterprise Guide 7.15.
The problem is that the creating of the csv/txt file now loads a LF in place of the CRLF (from windows) at the end of each line.
How do I get the CRLF to remain on the Unix system?
This is the Proc Export that I have used.
PROC EXPORT DATA = work.OLMData
OUTFILE= "/data/fnb/hr_intelligence/mft/Points_Of_Presence_MFT/OLMData_only_July19.txt"
DBMS=csv REPLACE;
delimiter=';';
RUN;
Attached is also the screen print of the problem a client is having when reading the file.
I need the old to stay please ![]()
New & old csv files
Thanks for your help in advance
Use the
termstr=crlf
option for your output file.
Use the
termstr=crlf
option for your output file.
Thank you very much Kurt.
I have made the change and the feedback from our client is "working perfectly".
You are a star.
Enjoy your Friday
@ColleenCB wrote:
You are a star.
No. Just old (enough to have gained lots of experience) 😁
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.