Debugging Stored Processes

Debugging Stored Processes One challenge that developers have when working with stored processes, is access to the work library.  Whilst sessions can be configured to persist, this does not help if you want to view a snapshot of your datasets at a particular...

Copy All Files From One Directory To Another

Platform agnostic..  Just modify the in / out ROOT folders, and enter the corresponding copy FROM / copy TO directories in the cards file. %let inroot=C:temp; /* NO trailing slashes */ %let outroot=C:temp; data _null_;   infile cards dsd;   input INDIR...

Copy Any File With SAS

The code below copies a file byte by byte – so can be used to copy any file, even pictures!  It is also platform agnostic (will work on both Unix and Windows). %macro copyFile(in,out); /* these IN and OUT filerefs can point to any file */ filename in...

ERROR: Read Access Violation METALIB

If you are getting the following error (SAS 9.3) when using proc metalib: ERROR:  An exception has been encountered.Please contact technical support and provide them with the following traceback information: The SAS task name is [METALIB]ERROR:  Read Access...