Hello.
 
I have a problem with an oracle variable in a c-headerfile.
the file should go through the  CPC Precompiler, but therefor a variable called SQL_PRECOMPILE must be defined.
How can I start cpc, that the "EXEC SQL ..."-Sector is passed through?!
Any Ideas?
here a part of the included header-file:
 
 
 
#ifdef SQL_PRECOMPILE
EXEC SQL BEGIN DECLARE SECTION;
  extern char Gbl_Benutzer[4];
  extern char Gbl_Sprache[16];
  extern char Gbl_Mandant[5];
EXEC SQL END DECLARE SECTION;
#else
  extern char Gbl_Benutzer[4];
  extern char Gbl_Sprache[16];
  extern char Gbl_Mandant[5];
  typedef struct
  {
    char **argv;
    int    argc;
    char name[16];
    char NAME[16];
  }TASKINFO;
  extern TASKINFO Gbl_Task;
#endif
 
 
 
 
 
 
 
 

Reply via email to