invoke

Description

Invokes the external JACL script.

Syntax

invoke external script file_name parameters

Invoke external script using file ignoreMissing name. If ignoreMissing is specified, the exception is ignored.

Arguments

Example

The following examples use JACL scripts; however, they are applicable to other types of scripts as well.

Example

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"