Date: Sat, 8 May 2004 11:38:27 -0700
Reply-To: "Miller, John" <millerj@WSIPP.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Miller, John" <millerj@WSIPP.WA.GOV>
Subject: Missing %MEND statement.
Does anybody have a better approach to this problem?
Every once in awhile I like to amuse myself by putting an odd number of
quotes in the macro I am developing so that I can get entangled in the
whimsical world of "Missing %MEND statement". I then enjoy a fast round of
play which goes like this:
- submit a quote in the hope that I can clear the problem
- submit a semi-colon for the same reason
- submit a %mend; to see if I have done any good
- sigh deeply and proceed to submit varying numbers of quotes,
semi-colons and %mends
- admit that I may have to kill SAS and start over to get out of
this loop
- stare menacingly at log statements like the following, then get a
cup of coffee:
19731 ";
WARNING: Missing %MEND statement.
19732 ";
WARNING: Missing %MEND statement.
19733 %mend;
ERROR: Macro keyword MEND appears as text. A semicolon or other delimiter
may be missing.
WARNING: Missing %MEND statement.
19734 %mend;
ERROR: Macro keyword MEND appears as text. A semicolon or other delimiter
may be missing.
WARNING: Missing %MEND statement.
. . .
-----------------------------------------------------------------------
John Miller
Washington State Institute for Public Policy
110 East Fifth Avenue, Suite 215
Olympia, WA 98504-0999
(360) 586-9436
millerj@wsipp.wa.gov
website: www.wsipp.wa.gov <http://www.wsipp.wa.gov>
-----------------------------------------------------------------------