DATA Step, Macro, Functions and more

BASE SAS PROGRAMMING-sas log

Reply
Contributor
Posts: 26

BASE SAS PROGRAMMING-sas log

[ Edited ]

Hi All,

 

Could someone tell me is there any way to save complete SAS project log automatically using SAS code or any setting in SAS EG 7.1?

 

I used

proc printto log to save individual sas codes in a SAS PROJECT.

 

Thanks

 

 

Super User
Posts: 19,769

Re: BASE SAS PROGRAMMING-sas log

I would recommend venturing into Version Control. EG has built in support for this, please see the post from @ChrisHemedinger from several years ago. The functionality should be the same. 

 

http://blogs.sas.com/content/sasdummy/2012/10/29/scm-with-sas-eg/

Super User
Posts: 3,250

Re: BASE SAS PROGRAMMING-sas log

If I'm understanding you correctly, I find it a lot easier to keep logs of SAS programs by running them in batch mode. That way you get logs automatically without coding anything extra.

 

http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p16esisc4nrd5sn1ps...

 

Contributor
Posts: 26

Re: BASE SAS PROGRAMMING-sas log

[ Edited ]

Thanks for the response but the issue is  that I have to run code manually.

Super User
Posts: 3,250

Re: BASE SAS PROGRAMMING-sas log

Curious to know why you have to run your code manually. Where I work we ensure that it doesn't matter which way you run your code, it works the same.

Ask a Question
Discussion stats
  • 4 replies
  • 287 views
  • 0 likes
  • 3 in conversation