Error when declaring sqlca.h

From: OLE OLE .... <bc7114915_at_omega.ntu.ac.sg>
Date: 1995/12/08
Message-ID: <1995Dec8.224651_at_omega.ntu.ac.sg>#1/1


Hello,

      I am using Proc*C compiler and having problems when compiling
      the C code generated by Proc*C compiler.
      I have defined a Sqlca.h file below from the menu:
 
     struct slqca
      {
        char   sqlcaid[8];
        long   sqlabc;
        long   sqlcode;
        struct
       {
          unsigned short    sqleerrml;
          char              sqlerrmc[70];
       } sqlerrm;
        char        sqlerrp[8];
        long        sqlerrd[6];
        char        sqlwarn[8];
        char        sqlext[8];

};

   struct sqlca sqlca

But when i compiled, it the .C files, the error was "struct" is an improperly declared function.

Can anybody please solve the problem. Thanks

Regards,
TTL Received on Fri Dec 08 1995 - 00:00:00 CET

Original text of this message