Get free disk space in SAS on Windows

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.

This SAS macro retrieves the amount of free disk space, and puts the value in the SAS log and in a global macro variable. It works with local and remote drives and mapped and UNC paths. To avoid data loss, use it as a sanity check to verify there is a reasonable amount of disk space before writing data. Continue reading

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.