View previous topic :: View next topic
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, 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 |
|
|
|