how can u handle null values in transformer stage.

Answers were Sorted based on User's Feedback



how can u handle null values in transformer stage...

Answer / prabhath.p

by using 1).Null to value(input column)
2.null to empty(input column)
3.if is null(input column_then
three commands are there in transformers for null handling

Is This Answer Correct ?    11 Yes 1 No

how can u handle null values in transformer stage...

Answer / subhash

in tranformer we have one function like null handling so using the fuction options we can handel null vales in the table

Is This Answer Correct ?    9 Yes 1 No

how can u handle null values in transformer stage...

Answer / rajeshchunduri

in transformer we have null handling functions in that by
using null to zero we can handle null.

chunduri

Is This Answer Correct ?    4 Yes 1 No

how can u handle null values in transformer stage...

Answer / 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

how can u handle null values in transformer stage...

Answer / subhash

null handling in transformer in two ways
one for
1. identifing the Null values
2. Remove the Null values
1.Ans: by using Null handing function
2.Ans: By using Constrains we can Remove the Null Values Rows
In transformer

Is This Answer Correct ?    2 Yes 1 No

how can u handle null values in transformer stage...

Answer / sailaja

Hi,

For Null handling in transformer you can use the below function dependind on ur requirement

1. Nulltoempty
2. Nulltozero
3.Nulltovalue

Is This Answer Correct ?    2 Yes 1 No

how can u handle null values in transformer stage...

Answer / naresh

Depending on the client requirement we can handle the nulls
by using null handling functions..we need to handle nulls if
the column null type is no only ..

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Data Stage Interview Questions

Converting Vertical PIVOTing without using PIVOT stage in DataStage. Ex: DEPT_NO EMPNAME 10 Subhash 10 Suresh 10 sravs Output: DEPT_NO EMP1 EMP2 EMP3 10 subhash suresh sravs 2) How to implement Horizontal PIVOTing without using PIVOT stage.

3 Answers   Cognizant, UHG,


In my project source data comes from MAINFRAME in files.so,This time data is coming as a binary file...I know for binary data we use Complex flat file stage..I have used it also..but on 'view data' data is not coming correctly..as it in MAINFRAME.give me some ideas..

2 Answers  


Define project in datastage?

0 Answers  


What are the types of hashed files in data stage

0 Answers  


Hi all, can u explain header and trailer records in file? If a file has header and trailer /master-detail records how will you read it in datastage?

3 Answers  


j1,j2,j3 jobs r runing iwant to run j1,j3 after j2 how to do this using sequencer? 2)j1,j2,j3 jobs r runing iwant to run j1,j2,j3 how to do this?

1 Answers   Wipro,


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

1 Answers   IBM,


1) In a dataset how to delete a single row? 2) i have 50 rows , i want to display 5-7 records only? How to write the sql query? 3)i have 40 rows,i want to display last row? write sql query?

7 Answers   Wipro,


can a fact table contains textual information

6 Answers   HCL, HCL BSERV, IBM,


Define meta stage?

0 Answers  


what is repositery?

0 Answers   IBM,


input Name Salay Sam 10 Sam 30 Sam 20 Ram 40 Ram 50 Output should be Name Salary Count Sam 10 3 Ram 40 2 get min salary and count of name . OutPut 2 Name Seq Sam 1 Sam 2 Sam 3 Ram 1 Ram 2

1 Answers   HCL,


Categories