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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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