Hey Gagan,
Please just try this...
IF (Len((NullToValue(AddressLineOne, ''))) > 0
Use an empty string ('') rather than spaces - and no TRIM is needed here,
Source field AddressLineOne is Varchar - I assume.
Cheers!
Ash
Search found 93 matches
- Thu Jul 05, 2007 10:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11497
- Thu Jul 05, 2007 10:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11497
Re: TRIM(varchar(50)) not working
Gagan, You are writing to a Varchar field so there cannot be any spaces unless you write it - please have a look at what you are doing in this condition IF (Len(Trim(NullToValue(AddressLineOne, ''))) > 0 Why you are assigning spaces to null value and then trying to TRIM it, doesn't make any sense. C...
- Thu Jul 05, 2007 10:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRIM(varchar(50)) not working
- Replies: 15
- Views: 11497
TRIM(varchar(50)) not working
Why you are using TRIM function on a Varchar field - do you think it's needed?
Ash
Ash
- Thu Jul 05, 2007 6:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning - Sort Stage
- Replies: 7
- Views: 3702
Warning - Sort Stage
Hey Bala,
I saw this post and just replied - didn't realise that it's duplicate and has been answered already.
Cheers!
Ash
I saw this post and just replied - didn't realise that it's duplicate and has been answered already.
Cheers!
Ash
- Thu Jul 05, 2007 6:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Out of range number not giving an error
- Replies: 3
- Views: 2414
Out of range number not giving an error
If it is giving warning for this problem - you can set the job to Abort after warnings, this will make it abort. Try providing Null Field value and see what output it is giving.
- Thu Jul 05, 2007 6:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning - Sort Stage
- Replies: 7
- Views: 3702
Warning - Sort Stage
Set the Preserve Partitioning Flag to Clear, that weill solve the problem.
Cheers!
Ash
Cheers!
Ash
- Mon Jul 02, 2007 6:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: APT_CONFIG_FILE error while using dsjob
- Replies: 11
- Views: 8324
APT_CONFIG_FILE error while using dsjob
Try specifying the Config File Parameter before your DS run command.
- Thu Sep 28, 2006 8:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup failure
- Replies: 4
- Views: 3358
Lookup failure
Hi
Do you have any other stage between transformer and lookup?
Change the field names to something different and then try running it.
Do you have any other stage between transformer and lookup?
Change the field names to something different and then try running it.
- Wed Aug 02, 2006 3:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: This jobtype is not currently runnable on this platform
- Replies: 2
- Views: 2898
This jobtype is not currently runnable on this platform
Hi
You can't run every version of PX on Windows 2000. Only Version 7.5x2 is compatible with windows platform with Visual Studio.net.
Regards
Ashwin
You can't run every version of PX on Windows 2000. Only Version 7.5x2 is compatible with windows platform with Visual Studio.net.
Regards
Ashwin
- Wed Aug 02, 2006 2:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Getting Warnings after using entire partitioning
- Replies: 2
- Views: 2420
Getting Warnings after using entire partitioning
Hi
Can you please tell us about your Job design?
It may be because of combining of parallelSortMergeOperator.
Regards
Ashwin
Can you please tell us about your Job design?
It may be because of combining of parallelSortMergeOperator.
Regards
Ashwin
- Wed Aug 02, 2006 2:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DataStage Jobs failure due to Broken Pipe
- Replies: 5
- Views: 16510
DataStage Jobs failure due to Broken Pipe
Hi Broken pipe may be because of incorrect metadata. Esnure that you are using the right metadata and you are not creating bigger data than waht your fields are. Check properly the metdata of datasets what you have defined and what you are reading here. Sigbus errors is mostly if you try reading an ...
- Mon Jul 31, 2006 12:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Import Failed
- Replies: 4
- Views: 3288
Import Failed
Hi
Check the Write access to the particular project.
Also check if its a protected project.
Regards
Ashwin
Check the Write access to the particular project.
Also check if its a protected project.
Regards
Ashwin
- Thu Jul 27, 2006 8:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: internal error 990000 while compiling
- Replies: 4
- Views: 2773
internal error 990000 while compiling
Hi
Can you please elaborate more on your job design and error, it will be easy for us to help you.
Regards
Ashwin
Can you please elaborate more on your job design and error, it will be easy for us to help you.
Regards
Ashwin
- Thu Jul 27, 2006 6:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date formatting
- Replies: 11
- Views: 10161
- Thu Jul 27, 2006 6:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: call a environment variable in a routine
- Replies: 4
- Views: 3167
call a environment variable in a routine
Hi Keerthi
This has been often discussed on this forum, try searching for it. I am sure you will get all the details about it.
Regards
Ashwin
This has been often discussed on this forum, try searching for it. I am sure you will get all the details about it.
Regards
Ashwin