BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User

I am not sure what your question is.  If you want to force SAS to put in quotes when writing a delimited file using DSD option, even when the quotes are not needed you can use the ~ format modifier.

Try this little program to see the effect of the using the ~ modifier.

data _null_;

  input name $20.;

  file log dlm=',' dsd;

  put name name ~ ;

cards;

This, Needs quotes

This "needs" quotes

no quote needed

run;

andreas_schmitz
Calcite | Level 5

Hi Tom,

thanks for your post and help.

Currently all my questions are resolved. I had several questions but I got a lot of help here. Smiley Happy

Recently, I had the problem that the DSD option forced the quotes in the output but I did not want them, so I simply left out the DSD option.

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
  • 16 replies
  • 3689 views
  • 9 likes
  • 4 in conversation