User Guide
645
SPSS Scripting
Facility
Figure 46-15
Global script file
The default global script file is global.sbs. You can freely add procedures to this file.
You can also specify a different global file on the Scripts tab in the Options dialog
box (Ed
it menu), but only one file can be active as the global file at any given time.
That means that if you create a new global file and specify it as the global file, the
procedures and functions in global.sbs are no longer available.
You ca
n view the global script file in any script window (click the #2 tab on
the left side of the window just below the toolbar), but you can edit it in only one
window at a time.
Globa
l procedures must be called by other script procedures. You cannot run a
global script directly from the Utilities menu or a script window.