Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
FTP multiple files from local machine to mainframe.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
dhanashreeakhade

New User


Joined: 11 Mar 2008
Posts: 5
Location: pune

PostPosted: Thu Mar 27, 2008 4:20 pm    Post subject: FTP multiple files from local machine to mainframe.
Reply with quote

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
View user's profile Send private message
References
PostPosted: Thu Mar 27, 2008 4:20 pm    Post subject: Re: FTP multiple files from local machine to mainframe. Reply with quote

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 2912
Location: Charlotte,NC USA

PostPosted: Thu Mar 27, 2008 4:48 pm    Post subject: Reply to: FTP multiple files from local machine to mainframe
Reply with quote

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

Global Moderator


Joined: 23 Nov 2006
Posts: 5911
Location: 221 B Baker St

PostPosted: Thu Mar 27, 2008 8:17 pm    Post subject:
Reply with quote

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

New User


Joined: 19 Mar 2008
Posts: 25
Location: Russia

PostPosted: Fri Mar 28, 2008 2:45 am    Post subject: Reply to: FTP multiple files from local machine to mainframe
Reply with quote

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! icon_idea.gif
Back to top
View user's profile Send private message
dhanashreeakhade

New User


Joined: 11 Mar 2008
Posts: 5
Location: pune

PostPosted: Fri Mar 28, 2008 9:43 am    Post subject:
Reply with quote

Thanks For the useful info. I will check how it helps to solve my pbm.

Thanks again icon_smile.gif
Dhanashree.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1