Date: Tue, 21 Dec 1999 18:07:45 -0500
Reply-To: yxxu@HOUSEHOLD.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Yanming X. Xu" <yxxu@HOUSEHOLD.COM>
Subject: insert one empty line after a certain group
Content-type: text/plain; charset=us-ascii
Dear SAS-Ls,
The list has been a great source to me. I have a new question that I need help
with:
data lines (e.g):
account product org state date
1 sd 500 ny 111299
2 sj 500 ny 112399
3 jd 500 nj 112499
5 si 510 ny 122199
8 ae 534 nc 101198
9 az 534 pa 080999
ORG stands for organization. How I can insert one line to separate each org?
The output should be like this:
account product org state date
1 sd 500 ny 111299
2 sj 500 ny 112399
3 jd 500 nj 112499
5 si 510 ny 122199
8 ae 534 nc 101198
9 az 534 pa 080999
I would appreciate any help!