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
|