BookmarkSubscribeRSS Feed
Coa_SAs
Fluorite | Level 6


Hi All,

I am trying to export a text file with '|' dlm, But I am getting carriage return issue for the last field.I am using Windows os.

I am trying as follows:

export data=ABC


outfile= "&output1"


dbms = dlm


replace



delimiter = '|';



;

Please help me on this

Thanks In Advance.

3 REPLIES 3
DBailey
Lapis Lazuli | Level 10

What's the definition of &output1?  What do you want to be the indicator for a new line?

ballardw
Super User

And what is the "carriage return issue"? Too many, too few, unexpected location?

Ksharp
Super User

Did you create these txt file under UNIX OS and browse them under Win OS ?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 1597 views
  • 0 likes
  • 4 in conversation