@TheEsotericPunk wrote:
Are you just asking if the included files might be missing a semicolon or something? If so, then no, they are not. They run just fine on their own with no warnings or errors.
One of the things that can occasionally make debugging in EG hard is that behind the scenes, in an effort to be helpful, after your code is submitted EG will add a magic string that will try to close any unmatched quotes for you.
In your original post you said that in a fresh EG session, if you run the code, you get "NOTE: Extraneous text on %END statement ignored." and the second file never even starts.
I assume that's a typo, and you mean %MEND statement?
I would start by fixing that. If there is an unmatched quote, that could explain both the extraneous text on the %mend statement (if SAS has ignored one of your %macro statements because it's hidden in an accidentally quoted string), and the second file "never starting."
The mantra of debugging in SAS is to start with the first error (or first note that should be thought of as an error).
... View more