I tried convert.
The problem is if I have a decimal value, something like "- 65.70"
Convert(" ", "", InLink.TheNumericString) is giving me "-66" as the output but where as StripWhiteSpaces is giving me "-65.70"
Search found 33 matches
- Sun Jul 01, 2007 5:12 am
- Forum: General
- Topic: String to Number
- Replies: 7
- Views: 2156
- Sun Jul 01, 2007 3:54 am
- Forum: General
- Topic: String to Number
- Replies: 7
- Views: 2156
- Sun Jul 01, 2007 12:14 am
- Forum: General
- Topic: String to Number
- Replies: 7
- Views: 2156
String to Number
Hi all, I have a string "-65". In the transformer I want to do a mathematical operation on this string. So I need to convert this string into number. How do I handle negative sign. Will DS function StringToDecimal work? How do I accomplish this ?javascript:emoticon(':roll:') Rolling Eyes T...
- Thu Jun 28, 2007 10:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substring in Transfomer Stage
- Replies: 7
- Views: 1671
- Thu Jun 28, 2007 10:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substring in Transfomer Stage
- Replies: 7
- Views: 1671
- Thu Jun 28, 2007 10:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substring in Transfomer Stage
- Replies: 7
- Views: 1671
- Thu Jun 28, 2007 9:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substring in Transfomer Stage
- Replies: 7
- Views: 1671
Substring in Transfomer Stage
Hi all, I have a input to the transformer something like this "700.123, 2007,06" its a comma separated value. I want it to be mapped to 3 different column by doing a substring on it. I used Field function Field(Input.string,',',1) but the output is 700 and not 700.123 Can anyone help me. I...
- Wed Jun 27, 2007 4:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job to trucate tables
- Replies: 14
- Views: 5711
- Wed Jun 27, 2007 4:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job to trucate tables
- Replies: 14
- Views: 5711
- Wed Jun 27, 2007 4:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job to trucate tables
- Replies: 14
- Views: 5711
- Wed Jun 27, 2007 4:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job to trucate tables
- Replies: 14
- Views: 5711
- Mon Jun 25, 2007 1:32 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Multiple file mutiple tables
- Replies: 7
- Views: 2393
- Mon Jun 25, 2007 12:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Multiple file mutiple tables
- Replies: 7
- Views: 2393
Multiple file mutiple tables
Hi, I have mutiple comma seperated files. They vary in thier structure. I have to read them all and place them into the necessary tables. My problem is I have ended up writing 10 server job for the 10 input files I have. I have connected all these 10 jobs using job sequence. But I guess this a wrong...
- Mon Jun 25, 2007 12:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job to trucate tables
- Replies: 14
- Views: 5711