User Profile

Collapse

Profile Sidebar

Collapse
nibakshi
nibakshi
Last Activity: Mar 7 '08, 12:10 PM
Joined: Feb 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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...
    See more | Go to post

    Leave a comment:


  • 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,
    ...
    See more | Go to post
No activity results to display
Show More
Working...