I suspect that your SAS program has one or more of the following commands:
%PUT _GLOBAL_;
%PUT _AUTOMATIC_;
If you set the following options, it should be pretty obvious where the code is, relative to other SAS processing:
MACRO NOSOURCE SOURCE SOURCE2 MACROGEN SYMBOLGEN MLOGIC %
OPTIONS NOSOURCE;
Using SAS old-style (SAS 79) macro statements (as opposed to the SAS macro language), the character string "NOSOURCE" will be substituted with the data that follows. So, if there is any SAS code that turns off SOURCE, you can expect it to be turned back on with maximum SASLOG diagnostics information.
Scott Barry
SBBWorks, Inc.