Tips:Use the SOURCE2 Option with %include to Get a Detailed Log

From sasCommunity
Jump to: navigation, search

You can use the SOURCE2 system option to get more details in the log for files that are run with %include:

   options source2;
   %include 'C:\my SAS files\sample program.sas';

To disable this option:

   options nosource2;

Or, for even more control, you can temporarily enable the option for a specific %include call:

   %include 'C:\my SAS files\sample program.sas' /source2;

....for more on SOURCE2 see also

....for more on %include see also


Submitted By Otterm1