Delete data from an Oracle table Error

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
BritDeveloper
Premium Member
Premium Member
Posts: 9
Joined: Thu May 13, 2010 4:58 am

Delete data from an Oracle table Error

Post by BritDeveloper »

We are currently trying to migrate some server jobs from v7.0 to v8.1

When trying to delete data from an Oracle table using

Code: Select all

Stage Type : OCI 9i 
Query Type : Enter Custom SQL Statement


The job aborts and generates the error message:

Code: Select all

Insert rows must be the update action to clear the table
The custom SQL is:

Code: Select all

DELETE from table where seq_no > :1
This is code works correctly V7.0 Does anyone know what may be causing this error ?
Claire
akbar2002
Premium Member
Premium Member
Posts: 6
Joined: Wed Jul 11, 2007 11:34 am

Re: Delete data from an Oracle table Error

Post by akbar2002 »

Did you put "Write Method = Delete Rows" in Input > Properties > Target ?
Regards,
Akbar.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is a server job. Don't know why this behaviour would have changed between version 7 and 8. I think you need to involve your official support provider - there may be a patch to address this issue.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
BritDeveloper
Premium Member
Premium Member
Posts: 9
Joined: Thu May 13, 2010 4:58 am

Post by BritDeveloper »

Thanks Ray!

Ive found the following link to a patch that can resolve the problem.

http://www-01.ibm.com/support/docview.w ... wg1JR36720

But I can t find where I download it from as its not in Fix Central (That I can see!). Ive raised a service request in the hope they can point me in the right direction.
Claire
BritDeveloper
Premium Member
Premium Member
Posts: 9
Joined: Thu May 13, 2010 4:58 am

Post by BritDeveloper »

FYI

THis patch was just for linux... THere are rewriting it (as we speak!) for solaris... Fun!
Claire
Post Reply