APPENDAdd observations from one SAS data set to the end of
another SAS data set
Ex. 1, Ex. 2
Using the APPEND Procedure
To copy only the table metadata and structure of a data set but not the data, use the
following example where Dataset1 is nonexistent:
proc append base=dataset1 data=dataset2(obs=0);
run;
proc contents data=dataset1;
run;
quit;
Examples: APPEND Procedure
Example 1: Concatenating Two SAS Data Sets
Features:PROC DATASETS statement options
APPEND statement options:
BASE=
DATA=
FORCE
Other features: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.