The first step is to write information about the database. You should write a record identifying this as an NDB unload data set, and then write the information returned from an &NDBINFO DB. Use a record type of 01 for the header, and 02 for the database information:
&FILE ADD 01 NDB UNLOAD OF &DBNAME &DATE7 &TIME
&NDBINFO &DBNAME DB
&FILE ADD 02 &NDBDBNAME&NDBDBVKL &NDBDBVRL +
&NDBDBNFLDS&NDBDBNRECS&NDBDBNRID
This information will be used by the reload program to verify the key and records lengths of the destination NDB.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |