Bulk loading of data from source to target

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
harish_s_ampeo
Participant
Posts: 26
Joined: Tue Dec 18, 2007 6:31 am

Bulk loading of data from source to target

Post by harish_s_ampeo »

I have the source data.I have to load the complete data from source to target using the bulk load(manual).Everytime when we load, the previous data should be delete and then enter the complete new data.Using bulk load manual strategy I have to delete and insert the data into oracle table.

For this I have used two scenarios

1. I have used Oracle 7 Load. This one will replace the existing data with new data.This will create two files .ctl and .dat.The data is coming into the .dat file but i am unable to load the data into the ORACLE table.How to load the data from .dat file into the oracle table?

2. I have used Oracle OCI Load (8.1).In this I deleted the data from before job sub-routing ExecSH command.But the data should not be deleted until the new data comes.This will create two files .ctl and .dat.The data is coming into the .dat file but i am unable to load the data into the ORACLE table.How to load the data from .dat file into the oracle table?

Please help me regarding this.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try Search - you are not the first to want to do this. The OCI 8 Load stage simply invokes sqlldr so please check whether you have automatic execution disabled. Find out from whoever created the job why it is set as it is before attempting to change anything - this reason really should be documented somewhere in the job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You posted this exact same question last Wednesday. Why do you feel the need to post it again? :evil:

If you have a problem with the answers posted so far, say so. In the other post.
-craig

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