LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 13 Apr 2001 09:17:09 -0700
Reply-To:   Pete Lund <pete.lund@NWCSR.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Pete Lund <pete.lund@NWCSR.COM>
Subject:   Re: use of multilabel and notsorted together?
Comments:   To: Andre Wielki <wielki@INED.FR>
In-Reply-To:   <5.0.2.1.0.20010413171137.009efb50@mailhost.ined.fr>
Content-Type:   text/plain; charset="iso-8859-1"

Hi Andre- In preparation for my PROC FORMAT paper at SUGI this is a question I posed to the FORMAT developers at SI. The answer: as of now (8.2) the NOTSORTED and MULTILABEL options do not work together. Maybe in V9? As of now, the only work around is to contrive your labels to be in the desired order like we all had to do in the days before NOTSORTED.

Well, now I guess you can all sleep through the slide that talks about this!

--------------------------------------------------------------------- Pete Lund Northwest Crime and Social Research 313-D Fifth Ave SE Olympia, WA 98501 (360) 280-4892 - voice (360) 570-7533 - fax pete.lund@nwcsr.com www.nwcsr.com ---------------------------------------------------------------------

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of Andre Wielki Sent: Friday, April 13, 2001 8:24 AM To: SAS-L@LISTSERV.UGA.EDU Subject: use of multilabel and notsorted together?

Hello,

starting with this type of proc format value frgdif (multilabel notsorted) 0='pas de difficile' 1='unique' 2='1 seul parti' 3='1er de plusieurs' 4='intermediaire' 5='dernier' 6='tous' 9='ne sait pas' 1-2=' un ' 3-6=' plusieurs' 0,9=' 0 et 9';;

when i try to obtain the same order, the values are appearing in the tabulate proc tabulate data=a f=6.0 ; var poidsk; format rgdif frgdif.; class sexe q59p ; class rgdif/mlf ; table all sexe*rgdif,q59p *( n poidsk*colpctsum)/rts=16 ; run;; in alphabetical order. If i try to add preloadfmt with (printmiss or order=date or nothing)in the tabulate , there is an error mention without a message in 8.1;

Does anyone know a way with proc format and tabulate only to obtain the expected order for the values

un plusieurs 0 et 9 pas de difficile unique 1 seul parti 1er de plusieurs intermédiaire dernier tous ne sait pas or pas de difficile unique 1 seul parti 1er de plusieurs intermédiaire dernier tous ne sait pas un plusieurs 0 et 9

thanks

___________ WIELKI Andre INED - Service Informatique 133 Bd Davout, 75 980 Paris Cedex 20 FRANCE Tel: 01 56 06 21 54


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