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 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 1 Apr 2004 10:52:13 -0500
Reply-To:     "Ross, Michael D" <michael.ross@ASTRAZENECA.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Ross, Michael D" <michael.ross@ASTRAZENECA.COM>
Subject:      Append Question?
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

This array gets run after each of my programs. The first program has 16 variables appended to totrep, however, the next program has 25 variables and is only appending 16. Will PROC APPEND drop variables on the second run if they are not on the Base file?

PROGRAM 1:

Data Report (keep=outvar1-outvar16); 'some Code'; run;

proc append base=totrep data=report(keep=outvar1-outvar&MAXOUT) force; run;

PROGRAM 2:

Data Report (keep=outvar1-outvar25); 'some Code'; run;

proc append base=totrep data=report(keep=outvar1-outvar&MAXOUT) force; run;

Mike


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