Scripting internal include files
The script file directory is regarded as the top-level directory. For all includes files that are used in a script, if the include files’ full path is below (or at the same level as) the top-level directory, the files are regarded as internal include files. Otherwise the files are regarded as external include files.
Internal include files are archived into their respective .dmz or .mrz packages when the .dms or .mrs scripts are uploaded to the IBM SPSS Collaboration and Deployment Services Repository. External include files are not archived into the .dmz or .mrz packages.
Example
Assuming the following script example is in C:\work\dms\household.dms, the include statements might resemble the following:
#Include "..\Logging.dms"
#Include "OnJobStart.dms"
#Include "include\OnNextCase.dms"
#Include "c:\work\dms\Include\OnJobEnd.dms"
The internal and external include files for this script would be:
Description
|
Files
|
Top-level directory
|
C:\work\dms\
|
Internal include files
|
C:\work\dms\OnJobStart.dms C:\work\dms\Include\OnNextCase.dms C:\work\dms\Include\OnJobEnd.dms
|
External include files
|
C:\work\Logging.dms
|
See also