FILE Keyword (INSERT EXEC command)

The minimum specification is the FILE keyword, followed by an equals sign and a quoted file specification (or quoted file handle) that specifies the file to insert. When the INSERT command is run, the commands in the specified file are processed.

PASSWORD Keyword

The PASSWORD keyword specifies the password required to open an encrypted IBM® SPSS® Statistics syntax file. The specified value must be enclosed in quotation marks. The PASSWORD keyword is ignored if the file is not encrypted.

To create an encrypted syntax file with a password:
  1. From the menus in the syntax window, select File > Save As.
  2. For the file type, select Encrypted Syntax (*.spsx).

Example

INSERT EXEC
     /SUCCESS FILE='/examples/commands/file2.spsx PASSWORD='swordfish'.