Date: Tue, 19 Dec 2006 07:36:52 -0800
Reply-To: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject: Re: %include problem
Content-Type: text/plain; charset="us-ascii"
You've probably already worked through all
of the basic questions but just maybe there
might be a small piece that is helpful.
A first review of %INCLUDE is that you can
picture it as 7 mere cut&paste's into one
big wad. So no special gotchas relating to
the %INCLUDE statements. Then how does the
coding look just before and just after the
Thinking of basic SAS operation, proc and
datasteps don't run unless they conclude with
their appropriate RUN; or QUIT; statements.
Does section 7 end with a run or quit? It
will need it to convince the compiler to run
Is there something at the end of section 6
that tells SAS to stop, and thus section 7
never gets a chance? (e.g. ENDSAS, etc.)
Hope this is helpful.
Senior Programmer Analyst, IM&R
Russell Investment Group
Global Leaders in Multi-Manager Investing
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Tuesday, December 19, 2006 7:18 AM
Subject: %include problem
I have a SAS program that calls a series of other SAS programs using the
There are only 7 programs. The problem I am having is that SAS will
never execute the last program. After I run the program, it executes
the first 6 programs, but not the 7th. The log shows no errors.
At that point, I comment out the first six and re-execute the program.
The last program runs with no issues.
Is there something else I need to do? I have tried re-ordering the
programs, but it is always the same result.