Help using Base SAS procedures

Automatically Saving Program to Designated Folder

Reply
Contributor
Posts: 34

Automatically Saving Program to Designated Folder

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?

Trusted Advisor
Posts: 2,113

Re: Automatically Saving Program to Designated Folder

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.

Ask a Question
Discussion stats
  • 1 reply
  • 223 views
  • 0 likes
  • 2 in conversation