= SPSS Insert = The '''`INSERT`''' command inserts an external SPSS program. See also [[SPSS/Include|INCLUDE]]. <> ---- == Usage == {{{ insert file="path/to/program.sps". insert file="path/to/program.sps" encoding="1252". }}} To change the working directory to the parent directory of the inserted program, add the '''`CD=YES`''' option. To halt execution of the inserted program upon any error raising, add the '''`ERROR=STOP`''' option. ---- == Data Model == The `INSERT` command executes immediately. Pending transformations are ''not'' executed and the active dataset is ''not'' read. ---- == See also == [[https://www.gnu.org/software/pspp/manual/html_node/INSERT.html|PSPP manual for INSERT]] ---- CategoryRicottone