Hi ,
In my control card command is :
PUT 'F1ZHPB.CPMJ9300.GROUP.LVL.SUMMARY(+0)' 'F142.HCRA.NOCSA.GRP'
Please tell me whether this will replace 'F142.HCRA.NOCSA.GRP' file?
or I have to give replace command in FTP card before above command to replace this output file.
Joined: 06 Jun 2008 Posts: 943 Location: Atlanta, GA
Since there's no REPLACE option on the PUT statement, you would find it difficult to get FTP to accept it. The Communications Server User's Guide for the FTP PUT command answers this question:
Quote:
If the remote host already has a file with the name specified by foreign_file, the remote host overwrites the existing file. If the remote host does not have a file with the same name specified by foreign_file, the remote host creates a new file.