Date: Fri, 27 Oct 2006 11:44:59 -0700
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: help with a log warning
In-Reply-To: <5849E9717D973D4680AD52C26826723E064EE435@KDCP4PMBX06.cof.ds.capitalone.com>
Content-Type: text/plain; format=flowed
andrea.wainwright@CAPITALONE.COM replied:
>-----Original Message-----
>From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
>truno
>Sent: Friday, October 27, 2006 2:19 PM
>To: SAS-L@LISTSERV.UGA.EDU
>Subject: help with a log warning
>
>a small job writes an output file which is later %included and executed
>
>all that works fine but I get this error in the log which is probably
>easy to fix?
>
>
>data _null_;
>infile "the file that I read in";
>file "the file that contains the output sas statements and later
>included"; set myset;
>x+1;* one time for each obs in myset;
>put "data a" x " ;"
> / ' infile "'_infile_'" truncover FIRSTOBS=2; '
>yada..yada..
>
>the log shows (while the job runs fine)
>
>227 put "data a" x " ;"
>228 / ' infile "'_infile_'" truncover FIRSTOBS=2; '
> ___________
> ___________
> ___________
> 49
> 49
> 49
>NOTE 49-169: The meaning of an identifier after a quoted string may
>change in a future SAS release. Inserting white space between
> a quoted string and the succeeding identifier is
>recommended.
>
>Interesting!
>
>It seems that SAS is warning us of a possible future backwards
>compatibility issue.
>
>Not an issue right now, but might be a best practice to get in the habit
>of using the white space as a future release might require it.
>
That's exactly right.
At one time, SAS had '...'d and '...'t and '...'dt literals for
dates, times, and datetimes (respectively).
SAS added '........'b literals for data used as bit sequences.
SAS added 'blahblahblah'n literals for variable names that don't
meet the [A-Za-z_]\w{,7} format that we all know from old versions.
So they're watching out for this, assuming that they may add more
thingies of the form '...'x where x is something in a-z, 0-9, _ .
If the poster inserts a space after the quotemark before the
character, the note will go away.
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/