University of Iowa

SAS Tips & Tricks 19. ... Searching a text string using WHILE and DO: ... Just sort by ID and DATE to get observations in chronological order and add BY ID in a data step. The temporary variables FIRST.ID and LAST.ID can then be used to select the desired rows. ................
................