running dynamic sqls

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

running dynamic sqls

Post by vishu19aug »

Hi,

My DS job is creating the Insert statements dynamically. Due to bad design of DB everything in my job including Table name is dynamic. I need to execute these statements on Oracle DB in the parallel job. How can i do that, i tired using Db connector for Pl/SQL but i had to provide it the input file as parameter but not able to use the input stream as input to the DB conncetor.

Any Help is really appreciated.

Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You could try generating the entire SQL in a previous (server?) job and providing it to your loading job as a parameter value.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply