Open topic with navigation

TIBCO® Managed File Transfer Platform Server for z/OS 8.1.0

# Using FUSUTIL in SEND Command

The FUSUTIL utility can be used within a SEND file transfer.

The FUSUTIL commands typically run as the second step of a file transfer request. You can use this method to get confirmation that the RENAME or DELETE function actually works. Additionally, you can use the EXIST function as part of a z/OS Platform Server script to check whether a file exists on a remote platform; or you can use it as part of a UNIX shell script to perform the same function as on z/OS Platform Server. If the file exists, you can then issue a file transfer request to receive the file from the remote system.

## Example

If you are initiating a file transfer request on Windows, you can request the following PPAs to be performed after the file transfer is completed:

    COMMAND="fusutil EXIST /acct/data/march.data"

This command checks whether the file /acct/data/march.data exists on the remote platform. A zero return code indicates that the file exists, while a non-zero return code indicates that the file cannot be found. A non-zero return code is also returned if a network error occurs, or if the syntax of the FUSUTIL command is invalid.

Copyright © 2003-2021. TIBCO Software Inc. All Rights Reserved.