calling function for every input record into oci stage

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
bobbysridhar
Premium Member
Premium Member
Posts: 41
Joined: Sun Mar 09, 2008 8:12 pm

calling function for every input record into oci stage

Post by bobbysridhar »

Hi,
I am trying to call a function from oracle database to OCI target stage update statement. But it is giving error.
Can somebody send me the syntax for it.

update abc set cri=1,doNotRenewInd=getTransactionIND('abc.policynumbr','dnrFlag');,cancelNoticeInd = getTransactionIND('abc.policynumbr','cancelNotice'); where policysummary.id in (select ps.id from policySummary ps where ps.revisionNo =0
k.v.sreedhar
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Try adding the closing paren. ) and removing ; semicolons.
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Why not share with us the error that you are seeing?
-craig

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