Hi Gurus

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dodda
Premium Member
Premium Member
Posts: 244
Joined: Tue May 29, 2007 11:31 am

Hi Gurus

Post by dodda »

I have a simple job which extarct the data from Oracle Oci stage and inserts the Values into Tgt Oracle Table.Before it does insert i want to delete the values in tgt table based on where condition and after insert i want to update the Table based on user define sql.I Just want to Know whether we can do it thru before and after tab in Oracle OCI stage?



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

Post by ray.wurlod »

Please use meaningful subject lines
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

hi dodda can you please provide more details regarding delete and update action, query and parameters required, so that we will be able to analyze something.
dodda
Premium Member
Premium Member
Posts: 244
Joined: Tue May 29, 2007 11:31 am

Post by dodda »

The Delete query is user defined which deletes the Content in tgt table based on given where condition in order to elimate duplicates where as update stm sets some values based on condition once the data is inserted to tgt table
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The 'real' thread on this topic is here:

viewtopic.php?t=119486
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply