- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would like to do a checksum at the end of my SAS program in order to be able to identify if there has been any changes to my code since the last time I worked on it.
Has anyone done this before and would be able to provide some help? Or have a better solution for what I would like to do?
Thank you
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Finally, i used the following solution to get the checksum of the current program I am running:
data checksum;
title "Checksum";
filename fn pipe "CertUtil -hashfile %sysget(SAS_EXECFILEPATH) MD5";
infile fn;
input;
Hash_Info = _infile_;
run;
proc print data=checksum NOOBS;
run;
Thanks for taking the time to help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you're using SAS EG or SAS Studio you can link your programs to a version control software or repository.
@megp wrote:
Hello,
I would like to do a checksum at the end of my SAS program in order to be able to identify if there has been any changes to my code since the last time I worked on it.
Has anyone done this before and would be able to provide some help? Or have a better solution for what I would like to do?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Finally, i used the following solution to get the checksum of the current program I am running:
data checksum;
title "Checksum";
filename fn pipe "CertUtil -hashfile %sysget(SAS_EXECFILEPATH) MD5";
infile fn;
input;
Hash_Info = _infile_;
run;
proc print data=checksum NOOBS;
run;
Thanks for taking the time to help!