You use script to specify a text string which is to be executed as an operating system command. A context object of type script can be referenced in the executeScript activity or by remoteSuccessScript or remoteFailureScript.
The command must be written in the operating system-specific syntax of each operating system. You can specify a different text string for each operating system in a script object.
openFT-Script selects the text string that is to be executed on the basis of the operating system specification in the partner definition or on the basis of the local operating system. If the operating system is unknown or no script matching the operating system is specified then the text string designated with script is executed.
The text string (script) is completely output by the ftshwact command. If this string contains passwords or related security-relevant information (e.g. for an ncopy command), then the ftshwact command outputs this information.
A return value other than zero is interpreted as an error and results in an ft_scriptError.
Restrictions
A script (e.g. bs2000Script, unixScript) may only occupy one line and its length is limited to 500 characters.
In this version, the script is not configurable.
Format
|
Attributes
Name | Value | Meaning |
| string | A unique ID in the current context. |
| string | ID of another script object. |
| | The default value is true. If false is specified then the script may not be repeated. |
Examples