Previous Topic: Optional FIELD AttributesNext Topic: Defining Dataviews with Datadictionary


INCLUDENILKEY

When defining a key in CA Datacom/DB, there is a parameter called INCLUDE‑NIL‑KEY.

This nil value has nothing to do with the null value used in DB2 and CA Datacom/DB. In most cases, you should define INCLUDE‑NIL‑KEY as YES. When this parameter is set to NO, an alphanumeric key value of spaces or a numeric key value of binary zeroes is considered nil and is not included in the index. Although CA Ideal has no control over the processing that takes place when this parameter is used, its improper use can be the culprit of poor performance in CA Ideal applications.

You might assume that you should use INCLUDE‑NIL‑KEY=NO whenever keys have a high occurrence of the nil value to free up index space. In fact, you should limit the use of this parameter to very specific situations: