Stored Proceudure from OBDC stage

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
Apotluri
Premium Member
Premium Member
Posts: 25
Joined: Sun Dec 25, 2005 10:38 pm

Stored Proceudure from OBDC stage

Post by Apotluri »

hi all,
The DBA in our shop does not allow the etl generic id to truncate the table before loading. We have to 'truncate' and load the staging tables.

Is there a way to execute a stored procedure from the ODBC stage before loading the Oracle staging tables?

Thanks
Madhavan VM
Participant
Posts: 33
Joined: Sat Jul 02, 2005 2:27 am
Location: Bangalore

Post by Madhavan VM »

wouldn't a script be more efficient?

write a script to truncate the table. use the sequencer stage to call the script and do the rest of sequencer upon successfull completion of this job.
warm regards,
Ajith GK
Apotluri
Premium Member
Premium Member
Posts: 25
Joined: Sun Dec 25, 2005 10:38 pm

Post by Apotluri »

hmm..we do not have the oracle client installed on the OS
Post Reply