Date: Wed, 20 Sep 2000 12:01:18 -0700
Reply-To: "Lund, Pete" <Peter.Lund@CFC.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Lund, Pete" <Peter.Lund@CFC.WA.GOV>
Subject: Re: A V8 bug?
Content-Type: text/plain; charset="iso-8859-1"
Hi Ian-
Of course, this turns out to be one of those "try the obvious" things.
After you and a couple others reported that this worked in 8.0 I tried again
- still had the quirk. I rebooted and tried again and everything works
fine.
So, now I can just be glad that the syntax highlighting works with %PUT as
well as PUT!!
This is the second time today that an "error" has just gone away after
restarting SAS or rebooting. Maybe I should just take the rest of the day
off and let my computer rest.
----------------------------------------------------------------------
Pete Lund
WA State Caseload Forecast Council
515 15th Ave SE
Olympia, WA 98504-0962
(360) 902-0086 voice
(360) 902-0084 fax
(360) 971-0962 pager
peter.lund@cfc.wa.gov
----------------------------------------------------------------------
-----Original Message-----
From: Ian Whitlock [mailto:WHITLOI1@WESTAT.com]
Sent: Wednesday, September 20, 2000 11:57 AM
To: 'Lund, Pete'
Subject: RE: A V8 bug?
Pete,
Works fine for 8.0.
334 %macro MacTest;
335 %put ERROR: error;
336 %put WARNING: warning;
337 %put NOTE: note;
338 %put NOTE - note (no colon);
339 %mend;
340 %MacTest
ERROR: error (red)
WARNING: warning (green)
NOTE: note (blue)
NOTE - note (no colon) (black)
Ian Whitlock <whitloi1@westat.com>
-----Original Message-----
From: Lund, Pete [mailto:Peter.Lund@CFC.WA.GOV]
Sent: Wednesday, September 20, 2000 2:35 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: A V8 bug?
Thanks Jennifer -
A couple people have mentioned that it works in 8.1. I have 8.1 on my
laptop at home, but still 8.0 at the office. I'll try tonight and see if
it's an 8.0 thing.
----------------------------------------------------------------------
Pete Lund
WA State Caseload Forecast Council
515 15th Ave SE
Olympia, WA 98504-0962
(360) 902-0086 voice
(360) 902-0084 fax
(360) 971-0962 pager
peter.lund@cfc.wa.gov
----------------------------------------------------------------------
-----Original Message-----
From: Jennifer Gibson [mailto:jg2f@unix.mail.virginia.edu]
Sent: Wednesday, September 20, 2000 2:33 PM
To: Lund, Pete
Subject: Re: A V8 bug?
Pete,
I tried your code (on v8.1 - recently installed) and got all 4 lines.
Hope that helps!
Jennifer
LOG:
1 %macro MacTest;
2 %put ERROR: error;
3 %put WARNING: warning;
4 %put NOTE: note;
5 %put NOTE - note (no colon);
6 %mend;
7 %MacTest
ERROR: error
WARNING: warning
NOTE: note
NOTE - note (no colon)
----- Original Message -----
From: Lund, Pete <Peter.Lund@CFC.WA.GOV>
Newsgroups: comp.soft-sys.sas
Sent: Wednesday, September 20, 2000 10:59 AM
Subject: A V8 bug?
> Hello all-
> I'm excited that V8 has "fixed" a "bug" in V6 (V6-SYS.DMS-1289 PUT
ERROR:,
> WARNING:, or NOTE: ignores color/highlight attributes). Now, with %PUT
any
> test beginning with EROR: or WARNING: will be color coded as they would be
> with SAS errors or warnings or generated in a datastep with a PUT
statement.
> However, when I tried to use it with NOTE: not only did the resultant note
> not highlight it did not display at all. I haven't seen anything on the
> Tech Support web site and was wondering if others have noticed this. Run
> this little macro and see if you see what I see (the NOTE: line does not
> appear):
>
> %macro MacTest;
> %put ERROR: error;
> %put WARNING: warning;
> %put NOTE: note;
> %put NOTE - note (no colon);
> %mend;
> %MacTest
> ---- start of my log ----
> ERROR: error (this is red, if your mail reader doesn't
> support color)
> WARNING: warning (this is green)
> NOTE note (no colon) (this is black)
> ---- end of my log ----
>
> Notice that the NOTE: note line is missing.
>
> BTW - in 6.12 all 4 lines of the macro print to the log (in black, as
> referenced by V6-SYS.DMS-1289).
>
> ----------------------------------------------------------------------
> Pete Lund
> WA State Caseload Forecast Council
> 515 15th Ave SE
> Olympia, WA 98504-0962
> (360) 902-0086 voice
> (360) 902-0084 fax
> (360) 971-0962 pager
> peter.lund@cfc.wa.gov
> ----------------------------------------------------------------------