Proc* C program not handling values correclty
Hi ,
I have a program which writes data into a file in specified format.
But I am facing strange problem here , The Host variable's indicator variable is not handling values properly .
Driving cursor fetches values for a particular field alternative_item from the database.
But in the output file I am not able to see any of the values fetched for that particular field , i suspect below lines of code is not handling values correctly.
Also attached the program itself.
/* Deal with NULLS returned by the cursor */
if (relex_ind_array[rec].i_replaced_by == -1) relex_data_array[rec].s_replaced_by[0] = '\0';