Null value in Sequential file stage..
Posted: Tue Mar 03, 2009 10:26 am
For one of my field in the target i'm doing Null handling.
I used this function for handling null "NullToValue()".
For e.g:
OP.Col1 --> NullToValue(IP.Col1,' ')
And this field i'm mapping to sequential file stage and a dataset stage.
The job ran successfully but when i'm viewing the data for this field the output in Sequential file stage it shows as "NULL" but in dataset as " ".
But when i opened my sequential file in unix box the output is " ".
Could anyone please tell me why "NULL" is appearing?
Is there any possibility to change the output..
Please help me out...
I used this function for handling null "NullToValue()".
For e.g:
OP.Col1 --> NullToValue(IP.Col1,' ')
And this field i'm mapping to sequential file stage and a dataset stage.
The job ran successfully but when i'm viewing the data for this field the output in Sequential file stage it shows as "NULL" but in dataset as " ".
But when i opened my sequential file in unix box the output is " ".
Could anyone please tell me why "NULL" is appearing?
Is there any possibility to change the output..
Please help me out...