index

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
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

index

Post by laxmi_etl »

My question is this

I am reading data from one table which is in x database and appending data to the oracle database this table is a partitioned table.
so its not allwoing me to choose index mode.when i try to run the job
its is giving the below error.

Oracle_Enterprise_12: Indexes on table 'inv_sbc_lw_dm'
preclude direct parallel loading unless an index option is included.
Add an index option or drop indexes and rerun step.

Oracle_Enterprise_12,0: The system(sqlldr rdw90_dm/change@rdwtest CONTROL=ora.602200.567189.0.ctl
LOG=ora.602200.567189.0.log
BAD=ora.602200.567189.0.log.bad SILENT=header PARFILE=ora.602200.567189.0.par) failed;
see the log file for the Oracle specific message.
Oracle_Enterprise_12,0: The runLocally() of the operator failed.
Oracle_Enterprise_12,0: Operator terminated abnormally: runLocally did not return APT_StatusOk

what is the solutions for this.

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

Post by ray.wurlod »

Add an index option (in the Oracle Enterprise stage) or drop indexes, recompile and rerun.

:idea: Get into the habit of using meaningful stage and link names.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

No luck, Any other thoughts.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Did you actually try try searching on your error message :?:
I found a few hits, like thisfor instance.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

laxmi_etl wrote:No luck, Any other thoughts.
"No luck" may mean that you didn't even try it - even with my RMM stage operational I have no way of knowing that. Explain what you tried, what results obtained and whether these results were different from those obtained previously.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

Thanks for your concern.

I selected Index mode as maintanence and disable constraints true for the write mode append.

It solved my problem.

Thanks
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Great, now onto the next step, Mark the post as "Resolved."
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

laxmi_etl wrote:Thanks for your concern.

I selected Index mode as maintanence and disable constraints true for the write mode append.

It solved my problem.

Thanks
What happened to "no luck"? :roll:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

Thanks Ray.. :lol:
Post Reply