Date: Tue, 11 Feb 1997 09:06:52 -0500
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Kevin Martin <martin@MAIL.DUKE.EDU>
Subject: Re: Appending to an external file
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Use PROC APPEND to create one new data set that will contain the
necessary ten year segments in your study. Then output this new
data set to your ascii file via FILE and PUT statements. If the
process is to be repeated across different ten year segments, I
would recommend writing a macro with the APPEND procedure
and subsequent DATA _NULL_ inside it. APPEND is documented in the
Hope this helps.
On Tue, 11 Feb 1997 00:03:40 GMT Steven Dolan
> I am just starting out at this, so I beg you excuse me if this is a basic
> question, but I have read TFM, and find no help there.
> I have several SAS datasets, each of which contains 30 years of data that I
> would like to output to a single ASCII file, in ten year segments. I had
> thought to do it using multiple data steps, each outputting to the same file,
> but the file is renewed each time and I find no "append" option. Am I missing
> it? or is there another way?
> Steve Dolan
The Fuqua School of Business