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 (September 1998, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 27 Sep 1998 14:07:50 +0100
Reply-To:     af <armel.francois@WANADOO.FR>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         af <armel.francois@WANADOO.FR>
Organization: Wanadoo - (Client of French Internet Provider)
Subject:      Re: enumerating data - urgent!

Try something like ( with your table sorted by X.) :

Data newfile; Set Yourfile; By X;

Retain ctr 0 ;

If first.X then ctr = 0;

ctr + 1; Output newfile;

RUN ;


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