A file to hold the unloaded data is needed. This example uses a VSAM ESDS. The following definition could be used:
DEFINE CLUSTER (NAME(NDB.UNLOAD) - NIXD - RECORSIZE(40 500) - CISZ(4096))
This data set must be allocated to your product region:
ALLOC DD=UNLOAD DSN=NDB.UNLOAD
The data set must be made available to NCL, via the UDBCTL statement. When an empty ESDS is opened, a dummy record is written. Our reload program must skip this record.
UDBCTL OPEN=UNLOAD ID=* BUFND=5
The unload can now be performed.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |