Operating System - HP-UX
1829748 Members
1365 Online
109992 Solutions
New Discussion

struct sqlexd stml varaible is showing same value for two different Query in two different functions

 
mthapa
New Member

struct sqlexd stml varaible is showing same value for two different Query in two different functions

Hi,

Greetings.

Currently I started working on project which is having lot of Proc* code written. My compiler is converting .pc file in to .cpp file. 

I am having two functions with different query where few columns names are changed as well as table names are also different in FROM clause.

During Proc compilation phase .pc getting successfully compiled to .cpp file but when I saw the generated code I found that the code generated for both functions are different but few things which are related to "struct sqlexd" structure is same as of previous function.

For example :

sqlstm.stmt = sq0005;

sqlbuft(&cont,

both are having the same syntax. Since newly added function is somewhat different in terms of TABLE name and COLUMN name later syntax is not getting compiled properly and getting converted to object file (.o).

I am trying to figure out root cause of the issue but till now no luck.

Any help/pointer will be apprecited.

Thanks,

Mahendra Thapa