Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Appending files using FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Appending files using FTP
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

Site Director


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

PostPosted: Wed Apr 30, 2008 11:39 am    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Apr 30, 2008 3:08 pm    Post subject: Re: Appending files using FTP
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts NDM 300 files from mainframe to linux shreya19 All Other Mainframe Topics 2 Thu Oct 26, 2017 11:40 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us