Modify Stage Syntax search

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
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Modify Stage Syntax search

Post by Sreedhar »

With in a sample job I am trying to use the SETNULL function given by the Data Stage


Can someone help on how to use the SETNULL function?

Destination= SetNull(Source) ?


Thanks In advance.
Regards,
Shree
785-816-0728
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

In modify stage use makeNull()
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

Thanks for the Suggestion,

Though with this function, my functionality is achieved, just want to understand how I can make use of the SETNULL function in the Modify Stage.



Regards,
SM
Regards,
Shree
785-816-0728
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

What is the syntax for MakeNULL(), Failed to implement this, could you please help me.

Will appreciate if you can give me an example.


Thanks & Regards,
Sm
Regards,
Shree
785-816-0728
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

inputcolumn = make_null(outputcolumn, '<value>')
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Post Reply