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
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?
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.
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: