Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

remoteFailureScript

&pagelevel(4)&pagelevel

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).

You should note that remoteFailureScript and a corresponding faulthandler in the Ftscript (see section “faulthandler”) may affect one another since their execution is practically simultaneous (local and remote).

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

ref?

string

Reference to a script context object.
Any partner described there is not evaluated. The partner in the associated transferFile activity is used.
The specification of repeatable in referenced script objects is ignored.

Example

See example on "transferFile".