HI All Need some help in particular requirement, I am very new SAS user. I have data like this value key abc 1 bed 2 daf 1 trewr 1 fdsfds 1 fdsfsd 2 eqre 2 fdsfds 3 dsfds 3 I need to split the file into 3 files- if the key has more or equal to 4 rows then one file, if the key has 2-3 rows then one file, if key has less than 2 rows then another file. Key values can be anything. I want to know how can I count the rows for each unique value of the key field and split the file.
... View more