Search found 387 matches

by pradkumar
Fri Nov 17, 2006 8:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference between two numbers
Replies: 3
Views: 1194

Difference between two numbers

Hi I am trying to substract two entries as follows: Field1 Field2 difference(Field1-Field2) 3458.90 3458.90 45621.12 -45621.12 When I was trying to do Field1- field2, the datastage is giving an phantom error "Datatype is not proper". I am having all three as numeric datatype. Even I tried ...
by pradkumar
Tue Nov 14, 2006 10:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

At present these are the expressions which I am using for Insert and Update


Insert : IsNull(Customer_lkp.Customer_KEY)
Update: Not(IsNull(Customer_lkp.Customer_KEY))
by pradkumar
Mon Nov 13, 2006 11:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

For First Insertion I am assigining the Flag to "Y"..(NEW)
If user changes the current_ind in target table to "N"
my job should be update only that record with flag set to "N"
by pradkumar
Mon Nov 13, 2006 10:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

For First Insertion I am assigining the Flag to "Y"..(NEW)
If user changes the current_ind in target table to "N"
my job should be update only that record with flag set to "N"
by pradkumar
Mon Nov 13, 2006 10:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

For First Insertion I am assigining the Flag to "Y"..(NEW)
If user changes the current_ind in target table to "N"
my job should be update only that record with flag set to "N"
by pradkumar
Mon Nov 13, 2006 10:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

Right now I am having only two links and
I am giving the rule
for Insert as : Insert new rows only
for UPDATE AS: Update existing rows only

Is this correct
by pradkumar
Mon Nov 13, 2006 10:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Records in Table
Replies: 13
Views: 3330

Updating Records in Table

Hi I am having my job as follows: I/P -->TX(lookup + constraint in TX for INSERT AND UPDATE)-->(NEWKEY GENEARTION(for insert new rows) --> Target table I am adding a flag in TX SAYING THAT IT IS NEW OR NOT (using "Y" for NEW and "Y" for OLD). Initially I gave "Y" for fl...
by pradkumar
Fri Nov 10, 2006 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

I got it..How to see the full links of the solutions
by pradkumar
Fri Nov 10, 2006 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

What is this Premium Contest
by pradkumar
Fri Nov 10, 2006 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

Thanks Ray.
Can you be little bit more clear Ray..
by pradkumar
Fri Nov 10, 2006 2:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

Its not that A appears only at the end of numeric values. It also appears in others like
procter&gamble-G&A

I do not want A to be removed here.
by pradkumar
Fri Nov 10, 2006 2:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

Thanks for the solution. Actually I am faced with a new problem now My data has changed in flat file and is like: 23231A 236376A 738273A 63721A ANGELIA CHAMELIA 773626A OUTPUT: 23231 236376 738273 63721 ANGELIA (HERE A SHOULD NOT BE REMOVED) CHAMELIA (HERE A SHOULD NOT BE REMOVED) 773626 This is som...
by pradkumar
Fri Nov 10, 2006 1:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting String
Replies: 28
Views: 8043

X is also removed if it is part of some other string, which i do not want..
by pradkumar
Thu Nov 09, 2006 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DEFAULT VALUE IN COLUMN FIELD
Replies: 5
Views: 1300

Thanks
by pradkumar
Thu Nov 09, 2006 2:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DEFAULT VALUE IN COLUMN FIELD
Replies: 5
Views: 1300

My requirement is osmething different.
There are certain columns which when null should have the value of the colno-1..If the col(x) is null then i am entering NA then if col(x+1) is also null, it should be NA.

Hope I am clear now