Did you try something like this ?
If NullToValue(lnk_in_tfm.Gender,'$')='$' Then 300 Else 0
Search found 46 matches
- Tue Mar 17, 2015 12:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TrimLeadingTrailing NULLS
- Replies: 9
- Views: 6909
- Mon Feb 10, 2014 3:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert varchar to decimal
- Replies: 4
- Views: 3543
Re: Reply
Still it would be decimal datatype and hence the leading zeroes would be available.
- Sun Oct 06, 2013 11:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Special characters in data
- Replies: 7
- Views: 5069
- Sun Oct 06, 2013 10:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading pipe delimited; but some columns missing
- Replies: 6
- Views: 5461
- Sun Oct 06, 2013 10:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue regarding a multi instance job
- Replies: 6
- Views: 4782
- Tue Oct 01, 2013 4:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to skip first 4 records
- Replies: 15
- Views: 16530
- Mon Jun 24, 2013 9:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job fails when executed by a sequence
- Replies: 4
- Views: 2560
- Thu Jun 13, 2013 10:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ORA-24806: LOB form mismatch
- Replies: 13
- Views: 18030
- Mon Jun 10, 2013 11:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Length mismatch
- Replies: 6
- Views: 3393
Re: Length mismatch
Hi,
Please provide few more details like how exactly are you calculating length in DataStage & Unix?
--
Rajesh
Please provide few more details like how exactly are you calculating length in DataStage & Unix?
--
Rajesh
- Mon Jun 10, 2013 11:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal To String Conversion
- Replies: 10
- Views: 9098
Is '1' the scale for your decimal ? Also, what is the maximum value you are passing when you are getting the error ?? You need to account for minus sign too while calculating the length(i.e. length of decimal + 1) should be your target column length for varchar field to avoid this message.
--
Rajesh
--
Rajesh
- Fri Jun 07, 2013 12:21 pm
- Forum: General
- Topic: using dsjob with parameters
- Replies: 14
- Views: 6228
- Fri Jun 07, 2013 11:35 am
- Forum: General
- Topic: using dsjob with parameters
- Replies: 14
- Views: 6228
- Fri Jun 07, 2013 10:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Changing field datatype from Double to Decimal
- Replies: 10
- Views: 14656
- Fri Jun 07, 2013 9:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: The size specified for column
- Replies: 13
- Views: 7847
Re: The size specified for column
Does the view data return correctly?
--
Raj
--
Raj
- Fri Jun 07, 2013 9:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Transformer Compilation Error
- Replies: 10
- Views: 5139
Re: Transformer Compilation Error
Did you try deleting the transformer stage and by placing a new one? (Sometimes this worked for me in few of my jobs)
Or
Does this job compile fine in other projects/environments?
Or
Would it be possible to design the job from scratch? If so, can you try and let us know please
--
Raj
Or
Does this job compile fine in other projects/environments?
Or
Would it be possible to design the job from scratch? If so, can you try and let us know please
--
Raj