LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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>
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?

Back to: Top of message | Previous page | Main SAS-L page