Date: Tue, 15 Jul 2003 10:12:20 -0400
Reply-To: Venky Chakravarthy <venky.chakravarthy@PFIZER.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Venky Chakravarthy <venky.chakravarthy@PFIZER.COM>
Subject: Re: version updates
On Fri, 11 Jul 2003 16:16:44 -0400, SAS User <sas@SDAC.HARVARD.EDU> wrote:
>In preparation of updating to version 8.2 (from 6.12 - finally),
>I'm going to give a small talk on the changes that might cause
>our existing programs to crash. I decided to expand this to
>include new features in 8.2, as well. But what I really want
>to focus on, I can't find on the SI website. I need a list
>of all of the forbidden data set names (like "merge", etc)
>and hopefully the subset that are new in v7-8.2. And I'd really
>like just a general description of how 8.2 is stricter. Things
>like how it now won't allow merges on by-variables of different
>lengths, and things like that. Can anyone point me to an actually
>useful site containing these things? I got a great deal of info
>of all the new statistical features to the procedures, but not
>so much info on what's really going to trip people up.
>Any help?
>
>Thanks,
>casey
Casey,
This may or may not provide all the answers you are looking for, but for
whatever it is worth:
(1) Check out TS-628 - http://support.sas.com/techsup/technote/ts628.pdf
(2) OnlineDoc - Reeview the "What is New.." sections.
You also wrote:
<<<
Things like how it now won't allow merges on by-variables of different
lengths .....
>>>
This would be a nice feature to have but it is not yet implemented. You may
be referring to the WARNING message that is issued when the length of the
BY variable from the second data set exceeds that of the first in a MERGE.
Note that when the order of the data sets is reversed even this WARNING
disappears. See below SIG.
Good luck.
Venky
2 data short ;
3 length x $1 ;
4 x = "1" ;
5 run ;
NOTE: The data set WORK.SHORT has 1 observations and 1 variables.
6
7 data long ;
8 length x $5 ;
9 x = "1" ;
10 run ;
NOTE: The data set WORK.LONG has 1 observations and 1 variables.
11
12 data short_before_long ;
13 merge short long ;
14 by x ;
15 run ;
WARNING: Multiple lengths were specified for the BY variable x by input
data sets. This may cause unexpected results.
NOTE: There were 1 observations read from the data set WORK.SHORT.
NOTE: There were 1 observations read from the data set WORK.LONG.
NOTE: The data set WORK.SHORT_BEFORE_LONG has 1 observations and 1
variables.
16
17 data long_before_short ;
18 merge long short ;
19 by x ;
20 run ;
NOTE: There were 1 observations read from the data set WORK.LONG.
NOTE: There were 1 observations read from the data set WORK.SHORT.
NOTE: The data set WORK.LONG_BEFORE_SHORT has 1 observations and 1
variables.