Last time I used bookshelves and everyday essentials to explain what to move first when relocating an AS/400. This time, the packing list is ready. How did I actually move what was on it?

Previous article: Moving an AS/400: What Goes First?

A box of books arrives at the new house. Great, I can finally read again. Then I look at the bookshelf. It’s still empty. Well, of course it is. I haven’t opened the box.

A gray-haired man in a green shirt lifts a book from a cardboard box beside an empty bookshelf.
AI illustration of the moving-house analogy.

Moving the AS/400 had much the same distinction. Back then, I moved each library—a collection of things like programs and data—in three steps.

First, pack the box. On the old system, I used SAVLIB to save the library into a save file, or SAVF. Think of putting the books in one box instead of carrying them over one at a time.

Next, ship the box. At the time, I used FTP to transfer the save file to the new system. What arrived was a file containing the saved library. The library itself hadn’t been restored yet.

Finally, unpack the box. On the new system, I used RSTLIB to restore the library from the save file. That’s the point in the house move when the books come out of the box and go back on the shelf.

I wrote my own migration tool to fit that procedure. No matter how much there was to move, the same three words kept it straight for me: pack, ship, unpack. Easier to remember than a row of technical abbreviations, even for the guy who wrote the tool.

Did the box arrive? Did its contents get put back? And does everything work in the new place? There are three moments when a move can feel finished. I’d be tempted to take a break as soon as the box showed up. Trouble is, I still wouldn’t have anything to read.

Command reference: IBM Docs — SAVLIB / RSTLIB

WRITTEN BYYoshio Taki

IBM i / AS/400 System Engineer