Start of change

NULLIND{(null-indicator)}

The NULLIND keyword allows you to explicitly define the %NULLIND value for a field or data structure.

When the NULLIND keyword is specified for an item, the parameter for the keyword is used as the null-indicator, null-indicator array, or null-indicator data structure for the item being defined.

You can omit the parameter for the NULLIND keyword if the item being defined is not a data structure. In that case, the variable or array is null-capable, but the null-indicators must be addressed by using the %NULLIND built-in function.

An indicator specified as a parameter to a NULLIND keyword can be addressed either by its name, or by the %NULLIND built-in function for the associated item. For example, if field myField is defined with NULLIND(myNullind), then %NULLIND(myField) and myNullind both represent the indicator myNullind. If array data structure myDs is defined with NULLIND(myDsNulls), then myDsNulls(i).addr and %NULLIND(myDs(i).addr) both represent the indicator myDsNulls(i).addr.

Examples

End of change