IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Appending files using FTP


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ganesh Kalam
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 45
Location: India

PostPosted: Wed Apr 30, 2008 11:26 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 30, 2008 11:39 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Apr 30, 2008 3:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top