Previous Topic: NDB Response Codes

Next Topic: Error Information

About Response Codes

The response codes fall into three categories:

An NCL procedure terminates if an error response is returned, unless &NDBCTL ERROR=CONTINUE is in effect, except as follows:

These exceptions allow a procedure to recover from any error conditions encountered when opening or closing an NDB, except for the obvious programming error (already open or closed). This should encourage you to develop exception handling logic when first writing a procedure.

If an error response from an &NDBOPEN is ignored, the next &NDB statement referring to that NDB will cause the procedure to abnormally terminate (as a result of trying to access an NDB that has not been opened).