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 (February 2010, 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 Feb 2010 08:53:48 -0800
Reply-To:     Yaw <linkyox@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Yaw <linkyox@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Automating age bin creation
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

Dear all:

I want to create agebins in months but I find myself writing several lines of codes for this task. Given the age range I have my current method will take a long time to get all the codes in.

Is there anyway I can expeditiously do this? like with an array or something?

Thanks,

Yaw

Here's what I have been doing tirelessly:

if agemos le 1.500 then agecat=0;

else if agemos gt 1.500 and agemos lt 4.500 then agecat=3;


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