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

Hi everyone,

I'm attempting to export a SAS dataset in CSV format in UNIX. It hangs because the session doesn't have the -noterminal option.

More infomation on the issue that I have :

http://pages.stern.nyu.edu/~adesouza/sasfinphd/index/node15.html

I do not have access to how my program is launched, so I can't simply add the -noterminal option.

Is there any way I could circumvent the problem within my code?

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

CSV files are trivial to write without PROC EXPORT.

If you don't need column headers this trivial data step will do it.

data _null_;

  set have ;

  file 'want.csv' dsd lrecl=300000 ;

  put (_all_) (:) ;

run;

View solution in original post

2 REPLIES 2
Tom
Super User Tom
Super User

CSV files are trivial to write without PROC EXPORT.

If you don't need column headers this trivial data step will do it.

data _null_;

  set have ;

  file 'want.csv' dsd lrecl=300000 ;

  put (_all_) (:) ;

run;

Kaladhan
Fluorite | Level 6

I didn't think of making my own csv file. It makes sense.

Thanks for your help!

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
  • 2 replies
  • 1287 views
  • 0 likes
  • 2 in conversation