View Full Version : transfer *savf between two V4R4
01-01-1995, 02:00 AM
What are the options for me to transfer *savf of size 100-500M from one As/400 to another both at V4R4. I need to do it on regular basis (say, daily) and also think about automation of this (list of *savf to be transfered may change time to time, so i need to maintain this easy,I also need to schedule process or start it depending on some events in the system). My connection is TCP/IP over ISDN 192 kbps. As I know,routers used support only IP (not SNA for sure), so my currently running IP connection is my only choice. My questions are: Can I use old SNADS stuff like snddst, sndnetf, ...?; I failed to find how can I invoke TFTP (Trivial FTP)session from AS/400 command line. Is it possible at all? Is it possible to use TFTP from CL program? Is it good choice at all or FTP is better? ( I heard TFTP performing better as it much "lighter" than FTP and TFTP is for sure easier to use and same time enouph functionality for my purposes); Are there any other options for me?
05-23-2000, 05:02 AM
You can setup sna over tcpip, there is a configuration example on the IBM website. I use FTP to do exactly what you are trying to do, it can be automated very easily in CL. You create a file containing your FTP commands, override the file "input" to your file containing the commands and run FTP. There is also a good example on IBM's website for automating FTP. HTH
05-23-2000, 05:09 AM
Sergey, I do not know the performance difference between trivial and regular FTP, but one thing that will help is to use compression on the save command. At that line speed, 500M is going to run for quite a while. If you have the C compiler, I would get a copy of the GNU compression code (I recently saw it on IBM's open source web page) and try compressing the save file. IBM supplies a command SAVRSTLIB for this purpose. I have never had a need to use this command, but you may want to check into it. David Morris
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.