Re: Problem With Pro*c
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Fri, 31 Aug 2007 08:48:31 GMT
rajesh.chidambaram@xxxxxxxxx wrote:
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);
There is no problem in the code you have posted. There may be a problem
in the code you use to open (and declare!) fp_outfile; there may be a
problem in the part of the code where you now have only comments; or
there may be a problem in later or earlier code.
If that code is ISO C, whittle it down to the smallest compilable sample
which still has the problem, and post that here.
If that code is not ISO C, but Pro*C, do the same, but post it in an
Oracle newsgroup - this group can't help you debug Oracle Pro*C code.
Richard
.
- References:
- Problem With Pro*c
- From: rajesh . chidambaram
- Problem With Pro*c
- Prev by Date: Re: Problem with fscanf()....
- Next by Date: Re: Alignment, Cast (more about structs...)
- Previous by thread: Problem With Pro*c
- Next by thread: Capture Console output
- Index(es):
Relevant Pages
|