Two policies (ftp and sftp) have been created, a local user (gwuser) has been created and a script (mft) has been created in order to transfer to z / os.
<? xml version = "1.0" encoding = "UTF-8"?>
<TRANSFERCONTAINER NAME = "MFT">
<LOCAL CPUTYPE = "WINDOWSNT" IPADDRESS = "127.0.0.1"
MACHINENAME = "<machine name>" PORT = "8044" SSL = "NO" />
<TRANSFERITEM NAME = "" QUEUE = "NO" XTRACE = "0">
<FILE NAME = "ANY">
<LOGON KEY = "xxxxx"
PASSWORD = "<password>" USER = "<userid>" />
<REMOTE CPUTYPE = "ZOS" IPADDRESS = "yy.yy.yy.yy">
<FILE NAME = "TEST.MFT" PDSCOMPRESS = "NONE">
<DCB RECFM = "VB" />
<LOGON KEY = "xxxxxxx"
PASSWORD = "<password>" USER = "<user id>" />
<XTC HOLD = "NO" />
and the policy was assigned as XCOM Insertion Scripts.
The file that arrives at the gateway server is never transferred to the final destination.
Release : 12.0
Component : CA XCOM DATA TRANSPORT GATEWAY FOR WINDOWS
Remove any extra directories from the watch directory.
As per this setup, Any new files added to "d:\temp" directory should be pulled to extsftp policy and the file should be moved to success directory. If it failed to pull and register with the gateway, it will move the file to the failure directory.
In the Administration-Manage policies window Stop and start the watcher from the policy after making the changes to directory paths
Once you setup the directory watcher for the policy with directory paths, it needs to started for first time. It does not automatically start watch for the first time. Once started, it will remain running in the background and watch directory for incoming files at configured interval.