Pro*C variable name lengths

  • From: "Adams, Matthew (GE, Appl & Light)" <MATT.ADAMS@xxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 26 Apr 2011 10:07:49 -0400

Does anyone know where the allowable length of host variable names is
documented for Pro*C?

 

We've upgraded a database from 8.1.7 to 10.2.0.5 (HP-UX).  After
recompiling pro*c, developers are stating that programs are not behaving
properly unless some variable names are shortened.

 

Examples of what they're telling me they had to change:

 

original  variable name                                  changed
variable names 

char flt_cd_prc_clss_copics[3];                  char
flt_cd_clss_copics[3];

char flt_cd_clss_grp_sls[3];                         char
flt_cd_cls_grp_sls[3];

 

 

I'm finding this difficult to believe, but I suppose it's theoretically
possible.  

 

I'd still love to find where (if anywhere) this is documented.

 

Matt

Other related posts: