DOCUMENT Subcommand (AGGREGATE command)
DOCUMENT
copies documentation from the original file into the aggregated
file.
-
DOCUMENT
must appear afterOUTFILE
but beforeBREAK
. - By default, documents from the original data file
are not retained with the aggregated data file when creating a new
aggregated data file with either
OUTFILE=’file specification’
orOUTFILE=* MODE=REPLACE
. TheDOCUMENT
subcommand retains the original data file documents. - Appending variables with
OUTFILE=* MODE=ADDVARIABLES
has no effect on data file documents, and theDOCUMENT
subcommand is ignored. If the data file previously had documents, they are retained.