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 (June 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 16 Jun 2011 12:38:23 -0700
Reply-To:     jfh@stanfordalumni.org
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject:      Re: PROC SUMMARY calculating _TYPE_.
Comments: To: "Data _null_;" <iebupdte@GMAIL.COM>
In-Reply-To:  <BANLkTikGN_BkF6ux3OYuGW4mZCjpe-=rvw@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"

I use the CHARTYPE option to create a character _TYPE_. Much easier to use, and takes less space if you have only a few class variables.

For your example, it would be '0101001'.

On Thu, 16 Jun 2011 10:13 -0500, "Data _null_;" <iebupdte@GMAIL.COM> wrote: > Say for > > CLASS A B C D E F G; > > How would YOU determine the value of _TYPE_ for the B*D*G conbinations. > > I know TYPES B*D*G; will output the records of interest but I want to > know how YOU would calculate _TYPE_. >

-- Brevis esse laboro, obscurus fio.

Jack Hamilton Sacramento, California jfh@alumni.stanford.org


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