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?
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;
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;
I didn't think of making my own csv file. It makes sense.
Thanks for your help!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.