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 (March 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 10 Mar 1999 09:34:22 -0500
Reply-To:   Bernard Tremblay <bernard@CAPITALE.QC.CA>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Bernard Tremblay <bernard@CAPITALE.QC.CA>
Subject:   Re: Formats
Comments:   To: lcdelac@pacbell.net

Hi,

You should use the order=internal on the ascending clause of your sort sequence.

Example: define group/group order=internal ... ;

Regards, Bernard Tremblay \\\|/// \\ - - // ( @ @ ) +-----oOOo-(_)-oOOo-------+--------------------------------------+ | Bernard Tremblay | | | La Capitale | Tel: (418) 646-2401 | | | Fax: (418) 646-5960 | | | Int: Bernard.Tremblay@capitale.qc.ca | +-------------------------+--------------------------------------+ | Imaginasys enr | Res: (418) 658-1411 | | | Int: bertrem@quebectel.com | +--------------Oooo-------+--------------------------------------+ oooO ( ) ( ) ) / \ ( (_/ \_) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>>> From: leonora dela cruz <lcdelac@pacbell.net> >>>Subject: Formats >>> >>>Hi Sas-Lers, >>> >>>I remember someone asked about this but I could'nt find this in >>>the archive. Anyway, how do I keep the rows in the >>>order of the values of the formatted values? I am using >>>PROC report and the group variable I am using is to be >>>displayed with formatted values. For example, >>> >>>proc format ' >>> value $group >>> '01' = 'Target Group' >>> '04' = 'New Group' >>> '05' = 'Old Group' >>> '99' = 'Other Group'; >>> >>>I want the rows in the report used as bygroup to be displayed as >>> >>> Target Group 99999 >>> New Group 99999 >>> Old Group 99999 >>> Other Group 99999 >>> >>>and NOT as >>> >>> New Group 99999 >>> Old Group 99999 >>> Other Group 99999 >>> Target Group 99999 >>> >>>Thanks in advance for any reply or suggestion.


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