Oracle Bulk Load - Truncate and direct=true options

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
guysen
Participant
Posts: 3
Joined: Mon Apr 04, 2005 12:21 pm

Oracle Bulk Load - Truncate and direct=true options

Post by guysen »

We are trying to build a DataStage Server JOB which would load up an Oracle table via the Oracle OCI Load. Is there a way to specify the TRUNCATE and DIRECT=TRUE in the COntrol File.

Thanks
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Only thru an after-routine/job call to edit the control file programmatically. You're better off spooling to a sequential file and loading thru a hand-written ctl file anyway.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply