It’s also worth pointing out not to confuse the c-code variable name with the data dictionary name. To access a quantity using DDictGetEntry you should pass the data dictionary UAQ name, not the c-code variable name. Both are listed in the table in the reference manual.
The DDictGetEntry function is described in the programmers guide.

