Invokes the external JACL script.
invoke external script file_name parameters
Invoke external script using file ignoreMissing name. If ignoreMissing is specified, the exception is ignored.
file_name—JACL script file name
name—Name of the script to be executed
parameters—Parameters required to execute the script. Use spaces to separate the parameters.
The following examples use JACL scripts; however, they are applicable to other types of scripts as well.
invoke external script "load-mdpothers.jacl"
Invokes the JACL script.
invoke external script "load-mdpothers.jacl" "daily" "c:/osop/install/ftproot"
Invokes the JACL script with two arguments.
The following property lists the directories searched by the system to locate a script file:
loader.upload.script.directories
To use the directories listed in the property to locate the script (JACL) file, enter the following code:
invoke external script "upload_data.jacl"
The default, specified in ISServer.properties is set to:
loader.upload.script.directories=${interlace.home}/custom/scripting,${interlace.home}/custom/workbook,${interlace.home}/custom/jacl,${interlace.home}/custom/scripts,${interlace.home}/interlace/workbook
If you specify a fully-qualified name, then the property is not relevant. For example, in the command below, the system simply searches the file:
invoke external script "c:\iop\custom\upload_dir\upload_data.jacl"