Previous Topic: LOAD Control StatementNext Topic: MAKECKPT Control Statement


Syntax

LOAD buffer-option reserve-option history-option

where:

buffer-option

Specifies either BUFFER to buffer records written to the output database that improves performance and reduces input/output time or NOBUFFER to eliminate buffering

If omitted, NOBUFFER is used by default.

Important! When using BUFFER, an unsuccessful completion could corrupt the output database.

reserve-option

Specifies either RESERVE, to place a reserve on the output database for the duration of the copy operation, or NORESERVE, to not place a reserve on the output database

Use NORESERVE only when you are certain that no one else could be updating the output database while the LOAD operation is in process.

If omitted, RESERVE is used by default.

history-option

Deletes detail history when you load a database

You can specify either HISTDEL to delete the detail history subfile only or HISTDELALL to delete the history subfile and all basic history records.

Note: When converting databases, if you specify a value for the BLKSIZE operand in the ADDDS control statement that is smaller than was originally specified for the "from" database, specify a value for history-option.