Date: Mon, 25 Mar 1996 15:33:00 MST
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Brian O. Mullin"
Subject: Adding a record to a SAS data set in a D
I wish to add a record or records to a SAS data set, called MASTER
within a Data Step. I have come up with 2 methods, neither of which I
like very well. Although, the 2nd is better than the first.
Create a second data set, called B using a cards statement, infile, ect and
in a third data step use a set statement to read both MASTER and B;
Use the insert into statement in Proc SQL . However, given my situation
I end up creating a data step after the Proc SQL to perform additional data
I only need to add 1 record to the data set MASTER and do not really want
to create an additional data set, and data step, if it is not necessary.
Does any one have any suggestions? Perhaps something akin to SQL's insert
into, but in a data step.
Thanks in advance,
| | Brian O. Mullin
| | Idaho Division of Health,
| \ Center for Vital Statistics
| |and Health Policy
| :) |
| Boise |