The following examples illustrate many of the points covered previously. In these examples, a simple pair of procedures is developed to unload and reload logically a database.
These procedures unload any NDB to a VSAM ESDS. The unloading is in RID sequence, unless the database has a sequence key, in which case that key sequences the unloading.
Note: This procedure is described to illustrate some of the features of NDBs. It is not recommended as the best way to unload files. The command NDB UNLOAD unloads an NDB in the same format as the following procedure. The NDB ALTER command can be used to speed up a reload.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |