Use a null indicator variable to indicate whether the associated host variable has been assigned a null value.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Syntax:
SQL generates a null indicator variable in Working-Storage, defined as:
01 IND-cursorname|IND-recordname
05 IND-column
General Rules:
- When using indicator variables, prefix them with the 01 level name, because AMB can generate duplicate names with different
01 levels.
- When
column contains an underscore, it changes to a hyphen at program generation.
- Normally, the IND-cursorname structure references a cursor set. To override this structure when generating indicator variables, set the &D2-USE-CURSOR-IND
flag to
NO in the AMB CNTL member APDB2IN. This generates the indicator variables with the IND-recordname structure.