Simple Steps to Save Your AS/400 Libraries to CD

  1. Download this zip file to your PC. It contains two objects, a copy of our AS/400 tools library CLEARTOOLS, and a short CL program to restore it. The magic of broadband makes this a 2 second download.
  2. Unzip the file onto your PC desktop, and burn the contents of the folder (ie tools and qtemp) onto a blank CD. Drives are so fast these days that this will take under a minute to burn and verify.
  3. Sign onto your AS/400 as QSECOFR, and restore our library to your AS/400 using this command:
    LODRUN *OPT
    That takes another 15 seconds on my 170. Beats tape doesn't it!
  4. Now for your library. Insert a suitable cartridge into your tape drive, 1/4" or 8mm — it doesn't matter, as long as you know how to initialize it.
  5. Run command CLEARTOOLS/SAVLIBTOCD. This creates a restorable image, first of all on tape, and then reads it back into the Integrated File System. Start off with just one library, with a simple name no more than eight characters long. eg
    CLEARTOOLS/SAVLIBTOCD
        LIB((library))
        TAPDEV(tape-device)
        DENSITY(whatever)
  6. Open up a DOS prompt on your PC and use FTP to transfer the library image. Something like this:
    FTP system
    USER QSECOFR
    PASS topsecret
    BINARY
    GET /qdls/cdmaster/master/library c:\library
    QUIT
  7. Burn the library image onto a blank CD. (Not the one that you used before!)
  8. Test it! Sign on to your AS/400 as QSECOFR and restore your library like so:
    RSTLIB SAVLIB(library) DEV(OPT01)
  9. Send a cheque for £100 made out to 'Clearway Communications Ltd'. This transaction makes you my customer and me your supplier, which has benefits for both of us. I'll mail you a permanent authorisation code in return. If you prefer to pay by credit card, or in another currency, follow this link to our area on the RegSoft secure server.
  10. Now is the time to get more sophisticated, saving multiple libraries, and dealing with full-length library names. The command comes with extensive help text, complete with examples, development detail and full technical explanation. Load programs make using your CD a lot easier — we used one at step 3 above. If you would like us to write one for you then please feel free to get in touch — we'd be pleased to discuss your requirements.

Specification