Hi Sanjay,
Thanks for reply.....
I have used array of structures in PRO*C code,but this is not working in SQC.
I have also implemented this thing using linked list but pointer type varible is not being recognised by DB2 precompiler.
I need to declare aray of structure in SQL block,if it is declared outside then i cannot use it for DB manipulation.
Thanks
Ni...
User Profile
Collapse
-
Issue Reagrding Structure type array variable in SQC code.
As i have defined a structure in EXEC SQL BEGIN and END section and i am declaring a structure type array variable after structure definition,but during precompilation it is throwing an error:
" SQL0008N The token "[" found in a host variable declaration is not valid."
Code is like this:
EXEC SQL BEGIN DECLARE SECTION
struct abc
{
int a,
int b,
...
No activity results to display
Show More
Leave a comment: