Search found 32 matches

by kris_r
Tue Oct 24, 2006 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 4982

Hi,
I tried creating a stage variable and concatenating '/'. But still I am getting the error message, "Value treated as NULL
Attempt to convert String value "" to Date type unsuccessful".
by kris_r
Tue Oct 24, 2006 3:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 4982

But the problem is there is no / between the dates in the Input.
It is just MMDDYY. That is the reason i feel it is causing the error.
by kris_r
Tue Oct 24, 2006 3:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 4982

Hi,
the format is mmddyy.
The error I am getting is "Attempting to convert string value "12/31/79" to Date is Unsuccessful".
by kris_r
Tue Oct 24, 2006 3:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 4982

convert string to date

Hi,
my input is a string (123179) which needs to be converted to date type.
I tried using iconv and oconv but am still getting date conversion error.
Can someone help me with this..
Thanks,
Krishna.
by kris_r
Fri Oct 13, 2006 1:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

Can someone copy and paste the message for me..
I am not able to see the complete message..
by kris_r
Fri Oct 13, 2006 1:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

Hi,
I am implementing this logic in two transformers, all the stage variables in one transformer and the source columns in one trn stage but,
the logic is not fetching me the results. I am able to retreive the next value of column B, but not the set logic until there is a change in B.
by kris_r
Fri Oct 13, 2006 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

Hey,
I tried this logic..
but it did not work...
by kris_r
Thu Oct 12, 2006 11:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

The data type of b is Integer.
The column b need not be generated.
only column d has to be generated whise datatype is also integer.
by kris_r
Thu Oct 12, 2006 10:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

The column D values have to be populated from column b. The second value of b should be the first value of column d. If the value of b is repeating, the same value should be generated in b till we get the next change. a b c d 1 10 2 11 1 11 2 12 1 11 2 12 1 11 2 12 1 12 2 15 1 15 2 NULL For Ex: seco...
by kris_r
Thu Oct 12, 2006 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Column value
Replies: 12
Views: 4999

Generate Column value

I have a scenario like this.. The column d should be generated based on the logic below. a b c d 1 10 2 11 1 11 2 12 1 11 2 12 1 11 2 12 1 12 2 15 1 15 2 NULL a and c are my keys which will have same value. The value of the second column in b should be populated as first value of d. The next change ...
by kris_r
Mon Sep 11, 2006 3:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Record
Replies: 11
Views: 3169

Hey loveojha2 :) ! Thanks, it worked.
by kris_r
Mon Sep 11, 2006 3:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Record
Replies: 11
Views: 3169

I have 2 columns A & b.
The column A contains 1,2,3. The Output should be like below:

A B
1 2
2 3
3 NULL
by kris_r
Mon Sep 11, 2006 2:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Record
Replies: 11
Views: 3169

In the same column B, I should increment all the values by One, but the last value should be NULL.
by kris_r
Mon Sep 11, 2006 2:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Record
Replies: 11
Views: 3169

Any idea Guys?
by kris_r
Mon Sep 11, 2006 2:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding target file creation
Replies: 14
Views: 5294

What is the exact error message that you are getting?