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 (December 1999, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 7 Dec 1999 10:56:31 +0100
Reply-To:   peter.crawford@DB.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Peter Crawford <peter.crawford@DB.COM>
Subject:   Question Formats
Comments:   To: nicolas.pont@unicible.ch
Content-type:   text/plain; charset=us-ascii

It may depend on the width of the values in ID1 and ID2 If no more than 4 digits wide then concatenate the keys to create the input value/range value $complex '00010001' = 'Mailing' '00010002' = 'Vente' '00020001' = 'Correspondance' ; data................... type = put( put( id1, z4.) !! put( id2, z4.), $complex. );

Of course, you could concatenate ID values up to 8 digits wide, but that seems "overkill" !

Datum: 07.12.99 08:51 An: SAS-L@listserv.uga.edu

Antwort an: nicolas.pont@unicible.ch

Betreff: Question Formats Nachrichtentext:

I have a data set like

ID1 ID2 LIBELLE 1 1 Mailing 1 2 Vente 2 1 Correspondance

The Keys are the variable ID1 and ID2, How can I make a format on both Keys (ID1 and ID2) ? Is it possible ?

Thanks in advance for any help


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