In V11 and later, DSQL exposes a method to verify if a parameter has been set to NULL.
Function:
ctsqlIsParameterNull
Retrieve the parameter.
Parameters:
Return:
Return CTSQL_TRUE if the parameter is set to NULL.
TOCIndex