Search found 33 matches

by dsdeveloper123
Sun Jul 01, 2007 9:11 pm
Forum: General
Topic: String to Number
Replies: 7
Views: 2156

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"
by dsdeveloper123
Sun Jul 01, 2007 5:12 am
Forum: General
Topic: String to Number
Replies: 7
Views: 2156

I got the Solution to my problem. I need to do StripWhiteSpace javascript:emoticon(':D')
Very Happy
by dsdeveloper123
Sun Jul 01, 2007 3:54 am
Forum: General
Topic: String to Number
Replies: 7
Views: 2156

Thank ...

This partially solves my problem...
Actually the data coming in is "- 65" (there is space in between the negative sign and the number)
I tried Trim() but it doesn't work
by dsdeveloper123
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...
by dsdeveloper123
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

Ya I did extract the string I get and its as expected. i.e "700.123,2007,1"
but when I do Field (Input.str,',',1) i get only 700 as output
by dsdeveloper123
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

Its a float coloumn in the database.

i used to_number(string)
by dsdeveloper123
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

I am taking it into a string and then doing a to_number in the insert query.
by dsdeveloper123
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...
by dsdeveloper123
Wed Jun 27, 2007 4:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job to trucate tables
Replies: 14
Views: 5711

Ok..

Can I call sub-routine from the job properties. So that it calls a sql file to delete the tables. I have a series of insertions. So I want to truncate the tables before my jobs runs in a sequencer.
by dsdeveloper123
Wed Jun 27, 2007 4:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job to trucate tables
Replies: 14
Views: 5711

Ok..

Can I call sub-routine from the job properties. So that it calls a sql file to delete the tables. I have a series of insertions. So I want to truncate the tables before my jobs runs in a sequencer.
by dsdeveloper123
Wed Jun 27, 2007 4:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job to trucate tables
Replies: 14
Views: 5711

Ok..

Can I call sub-routine from the job properties. So that it calls a sql file to delete the tables. I have a series of insertions. So I want to truncate the tables before my jobs runs in a sequencer.
by dsdeveloper123
Wed Jun 27, 2007 4:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job to trucate tables
Replies: 14
Views: 5711

Ok..

Can I call sub-routine from the job properties. So that it calls a sql file to delete the tables. I have a series of insertions. So I want to truncate the tables before my jobs runs in a sequencer.
by dsdeveloper123
Mon Jun 25, 2007 1:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple file mutiple tables
Replies: 7
Views: 2393

Thank you...

I am new to data stage so was wondering if what I am doing is right or wrong...
by dsdeveloper123
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...
by dsdeveloper123
Mon Jun 25, 2007 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job to trucate tables
Replies: 14
Views: 5711

Got ur point...
I am going with truncate and insert option..
Thank u