DOCUMENT Subcommand (AGGREGATE command)
DOCUMENT copies documentation from the original file into the aggregated
file.
-
DOCUMENTmust appear afterOUTFILEbut 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. TheDOCUMENTsubcommand retains the original data file documents. - Appending variables with
OUTFILE=* MODE=ADDVARIABLEShas no effect on data file documents, and theDOCUMENTsubcommand is ignored. If the data file previously had documents, they are retained.