Nested functions in modify

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
verify
Premium Member
Premium Member
Posts: 99
Joined: Sun Mar 30, 2008 8:35 am

Nested functions in modify

Post by verify »

Can we able to use nested functions in modify stage?

For e.g:- All the columns Xid,Yid and Zid are of same datatype.
Xid = handle_null(Zid,handle_null(Yid,Xid))

Please help me out...
RK Raju
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Have you tried it? WHat is your result?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi,

You cannot have nested conditions in Modify stage. Use the transformer for this scenario.

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

Post by ray.wurlod »

Nor can you have two adjacent Modify stages. You can have two (or more than two) Modify stages, but not adjacent. Place a Copy stage between them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
verify
Premium Member
Premium Member
Posts: 99
Joined: Sun Mar 30, 2008 8:35 am

Post by verify »

Thanks for your inputs..

I'll go with transformer stage..
RK Raju
Post Reply