You use remoteFailureScript to execute a script on the remote system if data transfer fails (see section “script”).
The functionality -rf of the openFT request is used (see ft command in the openFT User Guide).
See also section “executeScript”.
Additional notes
The script is also executed if a running data transfer is aborted with a fault (internally, ft_cancel is issued if a fault occurs, see section “fault” and the openFT user manual).
If a fault occurs then remoteFailureScript is only executed for the running transfers.
Format
<remoteFailureScript ref?="ID"> comment? script? bs2000Script? unixScript? windowsScript? zosScript? </remoteFailureScript>
Attributes
Name | Value | Meaning |
| string | Reference to a script context object. |
Example
See example on "transferFile".