int load_convers_data()
{
char *function = "load_convers_data";
long i;
int j;
int li_return;
char ls_scale_cnstr_dimension_uom[NULL_UOM] = "";
char ls_scale_cnstr_weight_uom[NULL_UOM] = "";
char ls_scale_cnstr_curr[NULL_CURRENCY_CODE] = "";
int li_in_season;
int li_stat_cube_ind = 0;
/* check what constraint types are defined for scaling; */
/* if "M" (mass) or "V" (volume), get target weight or dimension
uom */
/* if "A" (currency amount), get target currency code */
fprintf(fp_outfile, "ls_scale_cnstr_dimension_uom = %s\n",
ls_scale_cnstr_dimension_uom);
The Last line prints the garbage value in the file and the value is
not consistent.
NULL_UOM is macro defined as 5. Its happening in only specific
scenario. Can Anyone throw some light on it.