SCRIPT
SCRIPT
runs a script to customize the program or automate regularly performed
tasks. You can run a Basic script or a Python script.
SCRIPT [PYTHONVERSION = {3**}] 'filename' [(quoted string)]
Note: filename can include the absolute path to the file
(for example, '/Users/username/Desktop/myfiles/filename.py').
This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.
Release History
Release 16.0
- Scripts run from the
SCRIPT
command now run synchronously with the command syntax stream.
Release 17.0
- Ability to run Python scripts introduced.
Release 24.0
PYTHONVERSION
keyword introduced.
Release 27.0
PYTHONVERSION = 2
was deprecated.