BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ColleenCB
Fluorite | Level 6

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  Smiley Frustrated

New & old csv filesNew & old csv files

Thanks for your help in advance

1 ACCEPTED SOLUTION
3 REPLIES 3
ColleenCB
Fluorite | Level 6

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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1987 views
  • 2 likes
  • 2 in conversation