how can u handle null values in transformer stage.

Answer Posted / prasad

take one stage variable

sV: if (IsNull(colum_name) or Column_name='') Then 0 Else 1

and in constraint use
sV=0 (null records will goes to one target)(we can handle null by using stage variable)

sV=1 (not null records will goes to another target)

Plz Correct me, if am wrong......

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

4569


Define oconv () and iconv () functions in datastage?

883


What is the difference between datastage and informatica?

613


1)s.key generate 1 to 700 records today. tomorrow another 400 will updated how to update the records using s.key generator? 2)source is like :-- DB --> T/F stage1 --> seq1file T/f 1 is linking with T/F2 ---> seq 2 how to load the data? in source i given some conditions those r going in seq1. The another data will going to seq2 how to do this ?

1634


Notification Activity

901






What are the main features of datastage?

662


Explain ibm infosphere information server and highlight its main features?

612


How do you run datastage job from the command line?

604


What is datastage?

649


Different ways a project can be moved to production ?...example ….export-import and Version control.

1936


how to write server Routine coding?

1667


How can you write parallel routines in datastage PX?

620


what are the devoleper roles in real time? plz tell i am new to datastage....

1644


What is the difference between hashfile and sequential file?

724


How many Key we can define in remove duplicate stage?

822