APPEND Procedure

Tips: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements.

You can use data set options with the BASE= and DATA= options.

Complete documentation for the APPEND procedure is located within the DATASETS procedure in APPEND Statement.

Syntax

PROC APPEND BASE=<libref.>SAS-data-set <DATA=<libref.>SAS-data-set>
<FORCE> <APPENDVER=V6> <GETSORT>;

Table of Procedure Tasks

Statement Task Example
APPEND Statement Add observations from one SAS data set to the end of another SAS data set Ex. 1
APPENDVER=V6 Add observations to the data set one at a time  
BASE=<libref.> SAS-data-set Name of destination data set Ex. 1
DATA=<libref.> SAS-data-set Name of source data set Ex. 1
FORCE Force the append when variables are different Ex. 1
GETSORT Copy the sort indicator that was established by using PROC SORT from the DATA= data set to the BASE= data set Ex. 2
NOWARN Suppress the warning message when used with the FORCE option to concatenate two data sets with different variables