ODBC Enterprise stage...
Moderators: chulett, rschirm, roy
ODBC Enterprise stage...
Hi All,
Iam using odbc enterprise stage as a lookup ..performing sparse lookup of table..
problem is before lookup it should execute 2 stored procedures and based on these procedures data is dumped in to table(view actually)..
i was trying to use open/close command and trying to call procedures as
call p1(.......);
call p2(....);
I was getting error as below...
main_program: Fatal Error: Invalid close command : call p1(...);
call p2(... );
can we call Multiple procedures by this close/open option??
Thanks...
Iam using odbc enterprise stage as a lookup ..performing sparse lookup of table..
problem is before lookup it should execute 2 stored procedures and based on these procedures data is dumped in to table(view actually)..
i was trying to use open/close command and trying to call procedures as
call p1(.......);
call p2(....);
I was getting error as below...
main_program: Fatal Error: Invalid close command : call p1(...);
call p2(... );
can we call Multiple procedures by this close/open option??
Thanks...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi ray,ray.wurlod wrote:I have a vague recollection that a doubled semi-colon is required (;;). Search DSXchange. ...
i tried giving ;; but it didnt work ..i tried searching dsxchange but couldnt find solution..
Q.is it possible to call 2 stored procedures at a time in open/close command...
Thanks..
I was giving below
callin 2 procedures in block.
BEGIN
proc1(..);
proc2('..) ;
COMMIT;
END;
Not getting any errors but stored procedures are not executing..
Is above format correct to execute 2 procedures??
iam using odbc enterprise stage..
thanks..
callin 2 procedures in block.
BEGIN
proc1(..);
proc2('..) ;
COMMIT;
END;
Not getting any errors but stored procedures are not executing..
Is above format correct to execute 2 procedures??
iam using odbc enterprise stage..
thanks..
Last edited by allavivek on Tue Aug 17, 2010 8:50 am, edited 1 time in total.