View previous topic :: View next topic |
Author |
Message |
arvibala Beginner
Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Wed Apr 23, 2008 8:46 am Post subject: FTP text file onto Mainframes |
|
|
Hi,
I am automating a process. In that I need to read contents from an Excel Sheet and send it to Mainframes using FTP. For that I have this Script
"put data.txt 'G2SZ00AT.ARVIND.DATASET'".
Here everytime I run the script the contents of data.txt are being over ridden on the mainframe dataset. Can you help me with an FTP script where I want the contents from the text file to be appended on the Mainframe dataset?
Thanks in advance,
Arvind B _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
|
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Sun Apr 27, 2008 9:40 am Post subject: |
|
|
In lieu of the 'put' command, try the 'append' command:
Code: | "append data.txt 'G2SZ00AT.ARVIND.DATASET'" |
|
|
Back to top |
|
|
arvibala Beginner
Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Wed May 07, 2008 4:56 am Post subject: |
|
|
Thanks a lot tcurrier. It works. _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
|
|
|