Date: Tue, 14 Dec 1999 13:56:00 +0100
Reply-To: detecsm_hellriegelg@WESTLB.DE
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE>
Subject: Re: RE(ason for): Ordering variables in data step
Content-type: multipart/mixed;
Boundary="0__=qfogoZ2f2bHPgmroycY4k1iXRP3x12yneqmwYOiWOiAFpE2L8dp0wpCT"
... also there is a limit for BY-lists for sorting: if the variables are "too
far at the right side", they will be ignored for sorting.
---------------------- Weitergeleitet von DeTeCSM
HellriegelG/D/ExternalStaff/WLB on 14.12.99 13:54 ---------------------------
John Iwaniszek <john_iwaniszek@WORLDNET.ATT.NET> on 14.12.99 13:31:49
Bitte antworten an john_iwaniszek@worldnet.att.net
An: SAS-L@LISTSERV.UGA.EDU
Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB)
Thema: Re: RE(ason for): Ordering variables in data step
There may be a new tendency to send sas data sets to certain US federal
regulatory agencies as part of typical submissions in place of paper
listings. It helps if the data set has a structure similar to what one
would find on a listing (trt, site, patno, visit, etc.) so, at minimum,
a reviewer can use SAS viewer to look at the data.
John
"Edel, Christoph Frankfurt" wrote:
>
> Lou,
>
> one might want to re-order variables either because one is not aware of the
VAR-statement in proc print, and the default pdv order does not suit one's
needs, or to ensure that the use of variable lists of the type "var1--varN",
"var1-numeric-varN", and "var1-character-varN" works as intended, as the
selection depends on the position in the pdv.
>
> Looking forward to learning about other good uses,
>
> Christoph Edel
> IMS Health, Frankfurt (Germany)
> CEdel@de.imshealth.com
>
> > -----Original Message-----
> > From: Lou Pogoda [SMTP:lpogoda@HOME.NOSPAM.COM]
> > Sent: Tuesday, December 14, 1999 2:36 AM
> > To: SAS-L@LISTSERV.UGA.EDU
> > Subject: Re: Ordering variables in data step
> >
> > This question comes up from time to time. You've received several workable
> > answers.
> >
> > But I just can't help myself, I must ask:
> >
> > SAS generally doesn't care what order variables have in a data set. Why do
> > you?
> >
> > EASTWOD wrote in message <000DDE1C.C21292@westat.com>...
> > >I would like to know how to reorder the variables inside a data step. Does
> > >anyone have a suggestion on this?
> > >Thanks,
> > >Dustin Eastwood
> > >Westat
> > >Rockville, MD
Mit freundlichen Grüßen
Gerhard Hellriegel
DeTeCSM
WestLB
Abteilung: 001-80622
Aderstr. 22
D - 40217 Düsseldorf
Tel.: +49211 826 6173
Fax: +49211 826 5393