Examples (INCLUDE command)

INCLUDE FILE='/data/gsslabs.sps'.
  • INCLUDE includes the file gsslabs.sps in the prompted session. When INCLUDE is executed, the commands in gsslabs.sps are processed.
  • Assume that the include file gsslabs.sps contains the following:
DATA LIST FILE='/data/data52.txt'
  /RELIGION 5 OCCUPAT 7 SES 12 ETHNIC 15
   PARTY 19 VOTE48 33 VOTE52 41.

The active dataset will be defined and ready for analysis after INCLUDE is executed.