SQL Programming Manual for Pascal

Using Dynamic SQL
HP NonStop SQL Programming Manual for Pascal528614-001
7-38
Handling Null Values
When you are reading through the names buffer to prompt the user for parameter
names, you might need to be aware of the indicator fields and perform tasks such as
the following:
1. Check NULL_INFO.
2. If NULL_INFO is -1, read the length field for the indicator.
3. Add this length field plus 2 to the pointer or index to skip to the next name in the
names buffer.