BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ksharp
Super User

OR try ODS.

ods csv file='c:\temp\x.csv' ;

proc print data=x noobs;run;

ods csv close;

Babloo
Rhodochrosite | Level 12

It is not working.

Ksharp
Super User

Another workaround.

data testit;

  x='00023';_x=cats(x,'09'x);

  y=00098;

  format y z5.;

run;

proc export data=testit outfile="c:\temp\country.csv" dbms=csv replace;

run;

Xia Keshan

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore 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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 23463 views
  • 7 likes
  • 5 in conversation