Oracle Bulk Load stage

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
PBalamurugan
Participant
Posts: 30
Joined: Sun Apr 06, 2008 9:58 pm

Oracle Bulk Load stage

Post by PBalamurugan »

Is it possible to use Oracle bulk load stage if ETL svr and DB svr are in different box ?

If it is possible, does it require any set-up ?

Any advice pls.

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

Post by ray.wurlod »

You can use the stage to produce the ctl and dat files, but you would then need to move these to the Oracle server (perhaps using an FTP script) and trigger the sqlldr command on that machine (perhaps using rsh).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

Or you could create a remote mounted filesystem on the ETL server that is actually a filesystem on the Oracle server eg. NFS in Solaris. That way you don't have to ftp files/ctl files.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Neither the 'manual' or 'automatic' options in the Bulk stage require the Oracle database to be co-resident with DataStage, in spite of what the docs say. Nor does sqlldr.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Raju_6609
Premium Member
Premium Member
Posts: 19
Joined: Mon Aug 06, 2007 5:15 am
Location: Bangalore

Post by Raju_6609 »

Yeah I agree with Craig.

Recently we have tested bulkloader where DB and DS are on different machine. We tested Automatic mode. It worked fine.



Manual Mode:
We are trying execute a afterroutine in manual orabulk stage job to load data.

But we are unable to trigger sqldr command from DSExecute to perform manual load. Anyone has idea what might be wrong ?

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

Post by ray.wurlod »

No idea at all. How about you tell us precisely HOW you are attempting to invoke sqllder from DSExecute, and what error messages you get?
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 »

Excatly... without a complete explanation of how exactly you are trying to run sqlldr and what errors you are seeing, we can't help much.
-craig

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