Hello Experts,
I am facing an Issue while scheduling an XSJOB for a stored procedure where I used some Dynamic SQL statements.
There are couple of places where it happened that I need to use Dynamic SQL statements as I need to refer to the data which I inserted in the next steps for further processing.
WHen I run XSJOB it fails saying that Internal Fatal Exception:Transaction state is LIVE at ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_query.cc:1256
If I remove the Dynamic SQL, Procedure is getting scheduled and running. But removing wont solve my porpose as I need to commit after each iteration.
Please through some light on this.
Regards
Raghavendra