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 2025: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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