Date: Mon, 14 Feb 2000 15:36:10 -0500
Reply-To: "Droogendyk, Harry" <Harry.Droogendyk@CIT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Droogendyk, Harry" <Harry.Droogendyk@CIT.COM>
Subject: Re: How to quote HTML code   in macro parameter
Content-Type: text/plain; charset="iso-8859-1"
I had the same problem when pushing HTML code through the RESOLVE function
to resolve buried macro variables in the HTML. I added the following line
to the top of my module that's %INCLUDEd in each program:
%let nbsp=%nrstr( );
Seems a little strange to do this, but I don't see that it'll add any
overhead since SAS is going out to look for the macro variable   anyway.
This way it'll find something and your warnings will disappear.
I wonder if you could stick the macro assignment statement in the autoexec
file used by SAS/Intrnet. You certainly could insert it into the RESET.SAS
module.
-----Original Message-----
From: John Iwaniszek [mailto:jiwaniszek@NC.RR.COM]
Sent: Monday, February 14, 2000 3:14 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: How to quote HTML code   in macro parameter
(I have been having some proble with my usenet connection today so
apipolilogies for any redundant transmissions)
Does anyone know how to quote the HTML code   (non-breaking space)
so that it will not generate the following warning:
WARNING: Apparent symbolic reference NBSP not resolved.
We need to be able to send it into a macro via a parameter. Currently
we use %nrbquote (who say SAS doesn't hava a sense of humor), which
forestalls the more obnoxious consequences of the ampersand, but we
would like to get rid of the warning as well.
--
John Iwaniszek
Statistical Programming Manager
Stat-Tech Services, LLC
919 571 6444
Developers of the Macro Reporting System - Delivering
Statistical reports in ASCII, RTF, and HTML
http://www.StatTechServices.com