Faustino29
Programmer
I have problems with host variables. I'm programming in ESQL/C with MS Visual. I must pass several host variables to a function but I don't know how I could it.
Example :
void main (void)
{
EXEC SQL BEGIN DECLARE SECCTION;
long test;
EXEC SQL END DECLARE SECTION;
testMethod(test);
...
}
void testMethod (long param)
{
EXEC SQL COUNT(*) INTO aram FROM TABLE; // Problem !!!
}
Can you help me plz ??
Thanks.
Example :
void main (void)
{
EXEC SQL BEGIN DECLARE SECCTION;
long test;
EXEC SQL END DECLARE SECTION;
testMethod(test);
...
}
void testMethod (long param)
{
EXEC SQL COUNT(*) INTO aram FROM TABLE; // Problem !!!
}
Can you help me plz ??
Thanks.