DOCUMENT Subcommand (AGGREGATE command)
DOCUMENT copies documentation from the original file into the aggregated file.
- DOCUMENT must appear after OUTFILE but before BREAK.
- 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’ or OUTFILE=* MODE=REPLACE. The DOCUMENT subcommand retains the original data file documents.
- Appending variables with OUTFILE=* MODE=ADDVARIABLES has no effect on data file documents, and the DOCUMENT subcommand is ignored. If the data file previously had documents, they are retained.