LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 8 Nov 2007 22:10:57 -0500
Reply-To:     Ken Borowiak <EvilPettingZoo97@AOL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ken Borowiak <EvilPettingZoo97@AOL.COM>
Subject:      Re: appending SAS dataset with an addition of new column

On Fri, 9 Nov 2007 01:45:47 -0000, Sri <subhadrasri@GMAIL.COM> wrote:

>Hi All, >I have been trying this for the past couple of days and decided to >take advise from those who have already been there and did that! >I have a shell script that runs on daily basis and executes 10 >different SAS programs during the process. When SAS datasets are >created, they are appended every day to the previous day's datasets >and the data is preserved for 180 days. Now, i have to add a new >variable to one of the datasets. But when i append to the previous >dataset, it gives me a warning saying that the variable is not present >in the base dataset, therefore it is dropped! Other than using SET >statement (i don't want to use SET because everyday i have to append >the data to the previous days data, by using set i will be using lot >of memory resources), is there a way for me to achevie it? For time- >being, i changed the new dataset name, but i bet it's a crude way and >there are many better ways out there to aheive it. >Please respond to my email at your earliest possible convenince. > >Thank you

Sri,

Check out the FORCE option on the PROC APPEND statement.

HTH, Ken


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