| Author |
Message |
dhanashreeakhade
New User
Joined: 11 Mar 2008 Posts: 5 Location: pune
|
|
|
|
Hi,
I have to FTP more than 50 files from local machine to m/f. The corresponding files in mainframe needs to have different lrecls, so I can not move the files in bulk.
I am ftping all files manually 1 by 1 by giving the required lrecl each time.
Can u please suggest me any way that I can use to automate this transfer process?
Thanks,
Dhanashree. |
|
| Back to top |
|
 |
References
|
Posted: Thu Mar 27, 2008 4:20 pm Post subject: Re: FTP multiple files from local machine to mainframe. |
 |
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 2912 Location: Charlotte,NC USA
|
|
|
|
You're not giving us much to go on.
1. Why do the datasets have have different LRECL's? Can't they all be the same size, or changed afterward. Or, why can't they all be variable-length datasets?
2. Are you looking to push (server to M/F) the files or pull (M/F from server) the files? Either you need to write the JCL for FTP to pull the files, or a script for the server to push the files. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 5911 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| I am ftping all files manually 1 by 1 by giving the required lrecl each time. |
If you pre-allocate the files on the mainframe with the proper dcb info, you will not need to manually provide the lrecls when the ftp is run on the desktop. . . |
|
| Back to top |
|
 |
XOpen
New User
Joined: 19 Mar 2008 Posts: 25 Location: Russia
|
|
|
|
Well, I will not call it automation, but it will be better than 1 by 1:
You have to download Seagull FTP, it's free. Key you can get after registartion on it's home site.
Seagull FTP - is a graphic FTP client. It has native MVS support, so you can browse MVS files as well as USS files.
1. You can select many files and copy them by one click
2. If you copy them into preallocated files, all DSORG will stay the same. To PDS/PDSE without problems at all.
3. It thinks that Qalifier is like a directory, so you can start from USERID. and go further by clicking needed dataset and you can go back by 1 level at any time.
4. You can delete and rename same way as in Window.
Beleive, it's an amaizing tool!  |
|
| Back to top |
|
 |
dhanashreeakhade
New User
Joined: 11 Mar 2008 Posts: 5 Location: pune
|
|
|
|
Thanks For the useful info. I will check how it helps to solve my pbm.
Thanks again
Dhanashree. |
|
| Back to top |
|
 |
|
|