Date: Fri, 11 Apr 2003 09:08:45 -0700
Reply-To: Jan Sollmann <jan.sollmann@AXA-FINANCIAL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jan Sollmann <jan.sollmann@AXA-FINANCIAL.COM>
Organization: http://groups.google.com/
Subject: Adding variable with constant value to big SAS dataset
Content-Type: text/plain; charset=ISO-8859-1
I want to add a new character variable with a constant value to a very
big existing dataset. The obvious way to do this would be:
data a;
set b;
new_var='constant';
run;
Is there a way to achieve this without inputing the whole dataset,
which is very time consuming?
|