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
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) 😁
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 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.