|
|
| Author |
Message |
Ganesh Kalam Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 45 Location: India
|
|
|
|
Hi,
In FTP, Append command appends a dataset on the local host to a file on the foreign host.
I want an FTP command which performs the reverse function. I want to retrieve a file from other server and it should be appended to the mainframe dataset.
For eg. I have a mainframe dataset SAMPLE.TEST.FILE . Every day i will be pulling some data from an Unix Server using FTP. That data should be appended to my mainframe dataset SAMPLE.TEST.FILE. If i use GET command i guess the data will be replaced. Is there any append command as such.
Please help me out. Thanks in advance. |
|
| Back to top |
|
 |
References
|
Posted: Wed Apr 30, 2008 11:26 am Post subject: Re: Appending files using FTP |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7314 Location: 221 B Baker St
|
|
|
|
Hello,
I do not believe you want to append as part of the file transfer. If there are problems, you could corrupt or completly destroy the existing data.
I believe a better way would be to transfer the new data into a new dataset and then "combine" them later. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3063 Location: Charlotte,NC USA
|
|
|
|
| Ganesh Kalam wrote: |
| If i use GET command i guess the data will be replaced. Is there any append command as such. |
No, but you can allocate the host dataset with DISP=MOD in your JCL. |
|
| Back to top |
|
 |
Moved: Wed Apr 30, 2008 3:08 pm by superk From TSO/ISPF to Other Mainframe Topics |
|
|