1. Create a *SAVF (what ever you want to call it)
2. SAVLIB xxx *SAVF (the above *SAVF you just created)
3. FTP it to the target box
4. On the target box do RSTLIB xxx *SAVF
I do not remember if you need to create the *SAVF on the target box and use (Replace on the FTP command.
Depending on how much you have to do, repeat this process for each library or write a program to do it.
You can also create a new library and your *SAVFs in it, then SAV that LIB and FTP a single time
Is sounds like you are moving to a different machine.
The fastest way would be to save the libraries to tape and restore them on the targat system.
Is that option available for you?