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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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