Previous Topic: Unload Subsets Using Sparse Keys

Next Topic: Open the Database and the Input Unload File

Reload an NDB from an Unload File

Having unloaded an NDB, you might want to reload it, possibly to restore the NDB to a previous state, or to take it to another system.

It is assumed that the reload is to a new NDB that has been defined with IDCAMS, allocated to your product region, and an NDB created.

For the purposes of the example, only minimal error checking is performed. The sample procedure can be enhanced in many ways. Some of these are: