0 Replies Latest reply: Jul 31, 2012 5:57 AM by 952922 RSS

    what is sqlcxt and what it does?

    952922
      I am having code->

      string read_stmt= "some query"
      strcpy(sqlstmt,read_stmt);


      struct sqlexd sqlstm;
      sqlstm.sqlvsn = 12;
      sqlstm.arrsiz = 1;
      sqlstm.sqladtp = &sqladt;
      sqlstm.sqltdsp = &sqltds;
      sqlstm.stmt = "";
      sqlstm.iters = (unsigned int )1;
      sqlstm.offset = (unsigned int )214;
      sqlstm.cud = sqlcud0;
      sqlstm.sqlest = (unsigned char *)&sqlca;
      sqlstm.sqlety = (unsigned short)256;
      sqlstm.occurs = (unsigned int )0;
      sqlstm.sqhstv[0] = (unsigned char *)sqlstmt;
      sqlstm.sqhstl[0] = (unsigned long )7395;
      sqlstm.sqhsts[0] = ( int )0;
      sqlstm.sqindv[0] = ( short *)0;
      sqlstm.sqinds[0] = ( int )0;
      sqlstm.sqharm[0] = (unsigned long )0;
      sqlstm.sqadto[0] = (unsigned short )0;
      sqlstm.sqtdso[0] = (unsigned short )0;
      sqlstm.sqphsv = sqlstm.sqhstv;
      sqlstm.sqphsl = sqlstm.sqhstl;
      sqlstm.sqphss = sqlstm.sqhsts;
      sqlstm.sqpind = sqlstm.sqindv;
      sqlstm.sqpins = sqlstm.sqinds;
      sqlstm.sqparm = sqlstm.sqharm;
      sqlstm.sqparc = sqlstm.sqharc;
      sqlstm.sqpadto = sqlstm.sqadto;
      sqlstm.sqptdso = sqlstm.sqtdso;
      sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);