BookmarkSubscribeRSS Feed
acemanhattan
Quartz | Level 8

I have a query that acts as a template where users change values in the header, presses run, and then a folder is automatically created where the datasets are saved. For reasons of posterity we need the code to be saved in the folder as well. Is there a way to have the program automatically save to a designated folder?

1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

Saving the code, as submitted, partly depends on the user-interface you are working from.

Saving the log is much easier and may be better for documentation purposes.  PROC PRINTTO can redirect the log to a file.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1288 views
  • 0 likes
  • 2 in conversation