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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 16 replies
  • 1649 views
  • 9 likes
  • 4 in conversation