LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 21 Apr 2004 11:49:31 -0400
Reply-To:     "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Subject:      Re: Unusual sorting problem

Kenneth Moody wrote: > Richard, > > Will deriving the value x_temp in a prior data step or view as: > > retain _direction -1; drop _direction; > > if first.y then _direction = -1*_direction; > x_temp = x*_direction; > > followed by: > > proc sort data= <...>; > by y x_temp; > > do what you need? > > Ken >

Exactly what I needed. Thanks everybody.

-- Richard


Back to: Top of message | Previous page | Main SAS-L page