Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

%include to run a number of reports 1

Status
Not open for further replies.
Sep 9, 2005
4
GB
I am trying to use %include to run 8 reports, however, it only runs the first 3.

%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\daily apps and offers report.sas';
%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\Daily Reporting.sas';
%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\Daily BDM Business Report.sas';
%include 'S:\My SAS Files\9.1\Program\Stock\Operations Stock Report v3.sas';
%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\Daily Outstanding Dips.sas';
%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\Daily Sanctions Screening Extract - V2.sas';
%include 'S:\My SAS Files\9.1\Program\DAILY REPORTS\Daily Verification Summary.sas';
%include 'S:\My SAS Files\9.1\Program\Stock\pipline_chasing_report.sas';

I've tried adding run; to the end of each line of code but this doesn't work.
Does anyone have any ideas?

Thanks
Lyndsey
 
If you look in your log you should see an unquoted error message. You probably have a problem at the begining of report 4. What I would do is try and isolate the problem. Try commenting out report 4. (use the '%*' char sequence as this is a true macro comment)
On a side note, I have noticed that the hyphen '-' in a file name may not be handled by SAS well. So if all your other debugging doens't work try renaming this file.
Klaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top