How To transfer files to mainframes and to PC not thr FTP



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How To transfer files to mainframes and to PC not thr FTP

Postby ashokteja » Fri Mar 04, 2011 12:54 pm

hi to all ,

am transfering files to mainframes as well as downloading to my PC some times if file size is large
uploading is failed ,
is there any option in tso to upload files to mainframes
plz give me the commands and procedure how to do this



Thanks advance
ashokteja
 
Posts: 10
Joined: Fri Dec 10, 2010 2:36 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How To transfer files to mainframes and to PC not thr FTP

 

Re: How To transfer files to mainframes and to PC not thr FT

Postby prino » Fri Mar 04, 2011 1:52 pm

Every emulator supports IND$FILE. (Which is as fast as a snail on an overdose of tranquilizer)
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: How To transfer files to mainframes and to PC not thr FT

Postby ashokteja » Fri Mar 04, 2011 2:11 pm

hi prino,

thanks for reply

how to use these , am not clear it ,,

plz tell me details
ashokteja
 
Posts: 10
Joined: Fri Dec 10, 2010 2:36 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How To transfer files to mainframes and to PC not thr FT

Postby prino » Fri Mar 04, 2011 2:24 pm

Reading isn't your strongest skill, isn't it, and when brain cells were handed out, you got the very last one...

I'll let you in on a little secret, there is a site called Google, which allows you to search the internet for anwers.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: How To transfer files to mainframes and to PC not thr FT

Postby dick scherrer » Sat Mar 05, 2011 12:31 am

Hello,

Why not use ftp. . . :?

None of my clients have permitted people to use IND$FILE for many years.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: How To transfer files to mainframes and to PC not thr FT

Postby Robert Sample » Sat Mar 05, 2011 12:46 am

I would focus on fixing whatever problem there is with the too-large files. FTP is designed for doing file transfers and works quite well for us on our mainframe with files up to 6 or more gigabytes in size (we average over 13 GB per day of FTP traffic and peak is over 30 GB). Where is the size problem coming from -- and how big is the file that is too large?
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: How To transfer files to mainframes and to PC not thr FT

Postby steve-myers » Thu Mar 10, 2011 8:41 am

The other problem is every terminal emulator program has its own idea about how to do the file transfer. Some, like IBM's terminal emulator, have multiple methods. None of these methods require the terminal emulator user to enter an IND$FILE command. The terminal emulator enters it under the covers.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: How To transfer files to mainframes and to PC not thr FT

Postby MrH » Thu Mar 10, 2011 8:52 pm

If you upload a file to a mainframe via FTP and you don't specify your sizing requirements, then you'll inherit defaults for primary and secondary allocations from the FTP server (specified in TCPPARMS member FTPDATA, for the curious). The values specified in FTPDATA override your SMS DATACLAS routines. If those values are too small, you'll end up filling all your primary and secondary extents, and then the transmission will fail.

To resolve this, use the QUOTE SITE command to set allocation unit (cyl or tracks) and number of primary and secondary units. For example:

QUOTE SITE CYL PRI=20 SEC=10
PUT FILE.NAME
MrH
 


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post