DATASET COPY

The DATASET commands (DATASET NAME, DATASET ACTIVATE, DATASET DECLARE, DATASET COPY, DATASET CLOSE) provide the ability to have multiple data sources open at the same time and control which open data source is active at any point in the session.

DATASET COPY name
        [WINDOW={MINIMIZED}]
                {HIDDEN   }
                {FRONT    }

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Release History

Release 14.0

  • Command introduced.

Example

DATASET NAME original.
DATASET COPY males.
DATASET ACTIVATE males.
SELECT IF gender=0.
DATASET ACTIVATE original.
DATASET COPY females.
DATASET ACTIVATE females.
SELECT IF gender=1.