Previous Topic: Obtain Information About an NDB

Next Topic: Put It All Together—Unload or Reload an NDB

Change NDB NCL Processing Options

The &NDBCTL verb is used to alter processing options associated with the executing NCL process. Options that can be changed are:

These options allow you to easily develop applications using NDBs, and to make the procedures robust.

For example, while developing code, use MSG=YES and ERROR=ABORT. This will give useful messages and stop a procedure at the error point. From time to time, TRACE=YES can be used to track obscure syntax errors in free-form text (particularly scan expressions, and problems caused by failing to quote data containing delimiter characters).

When the code is finished, specifying MSG=NO (or MSG=LOG), and ERROR=CONTINUE allows the procedures to handle unexpected errors gracefully.

The DATEFMT= option lets you control the input and formatting of dates. The default behavior (honoring the user or system date format) is normally the best setting. However, when unloading or reloading data, &NDBCTL DATEFMT=NO lets you be independent of the current language settings.