Previous Topic: Update a Field Definition

Next Topic: Restore an NDB

Back Up an NDB

Back up an NDB with the standard IDCAMS utility functions (that is, REPRO or EXPORT). For integrity, the data set should not be open. Issue the following commands to ensure this:

NDB STOP dbname IMM LOCK
UDBCTL CLOSE=dbname

Following completion of the backup, issue the following command to make the NDB available again:

UDBCTL OPEN dbname options
NDB START dbname UNLOCK options

The options on these commands should agree with any standard options specified (for example, LSR/DEFER on the UDBCTL statement).