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 ?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

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
  • 963 views
  • 0 likes
  • 4 in conversation