Search found 35 matches

by vkhandel
Mon Jul 06, 2009 10:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Range lookup functionaility
Replies: 4
Views: 2046

"By stating the reference link has multiple rows does remove the duplicate reporting" ... You achieve that by selecting the reference link in the property "Multiple Rows returned from Link" , right? I tried that and warning is removed in my case too .. and strangely I have not en...
by vkhandel
Mon Jul 06, 2009 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Range lookup functionaility
Replies: 4
Views: 2046

Re: Range lookup functionaility

The warning is thrown because we have duplicates in reference link for "Col1". I have also faced the same problem, and as a workaround, I have made an inner join of the two links, thereafter filtering them on the condition

Timestamp >= StartTS and Timestamp <= EndTS.
by vkhandel
Sun Jul 05, 2009 11:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: merge 4 flat files
Replies: 8
Views: 2314

Re: merge 4 flat files

u can merge them using FUNNEL Stage.
by vkhandel
Fri Jun 19, 2009 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to subtract the month from yyyymmdd
Replies: 5
Views: 4282

the desired output could be achieved by following logic implemented in transformer stage stage variables written in following order - SVarDate (varchar8 ) --> decimaltostring(CCNPOD,"suppress_zero") SVarCounter (varchar 2) --> decimaltostring(CCMPMO,"suppress_zero") SVarMonth (va...
by vkhandel
Wed May 27, 2009 2:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job in running mode for long time
Replies: 4
Views: 1630

Re: Job in running mode for long time

What is the partitioning done on the Oracle Enterprise Stage?

If you have used RoundRobin, could you try with Hash/sort on Target Table Key Columns.
by vkhandel
Thu Apr 09, 2009 12:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading csv file
Replies: 2
Views: 1525

Re: Issue with reading csv file

Could u set the field default properties as given below -

Delimeter = comma
Quote = none

and then check..
by vkhandel
Fri Feb 06, 2009 1:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF vs Seq File stage
Replies: 8
Views: 3582

Hi Brad We are doing exactly as the last point of your's (providing enough natural keys and record types), but we are facing an issue due to the presence of "packed decimal" values in the raw field of some record type. Could you please suggest, if there is any property in Column Import sta...
by vkhandel
Fri Jun 20, 2008 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert from decimal to string
Replies: 2
Views: 1712

Re: convert from decimal to string

You can achieve the result by using the following stage variables - decimaltostring(<column_name>,"suppress_zero") ............. SVar1 Index(SVar1, ".",1) ............. SVar2 Len(SVar1) - SVar2 ............ SVar3 And then writing the following derivation - SVar1[1,(SVar2- 1)] : S...
by vkhandel
Mon Jun 16, 2008 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to trap null date value?
Replies: 7
Views: 2993

Re: How to trap null date value?

Can you try to trim the input field first and then check with IsNull() function as shown below -
IsNull(Left(Trim(input_column_name),Len(Trim(input_column_name))))
by vkhandel
Tue Jun 03, 2008 3:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 8
Views: 3820

Re: Date Conversion

you can use the following derivation in transformer......... considering the input column name as tempdate.......

tempdate[1,6]:'19':tempdate[7,2]

but the question here is how to decide about the century?? i have hardcoded that here as 19 but it can be 20 also......
by vkhandel
Thu May 29, 2008 10:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing of special keywords from a field
Replies: 3
Views: 960

Re: Removing of special keywords from a field

Can u store all the keywords in a sequential file? If yes, then u can write a Job Control (In a server job)... wherein u will traverse the sequential file in a loop (taking one keyword at each time) and storing it in the seesion. Then, u can call a parallal job from the job control, which has in its...
by vkhandel
Mon May 12, 2008 1:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Padding blank spaces behing the passed string in Oracle
Replies: 6
Views: 1881

Re: Padding blank spaces behing the passed string in Oracle

have u tried trimming using the function -

Left(Trim(col_name),Len(Trim(col_name)))
by vkhandel
Fri May 09, 2008 12:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Stage Variables in PX vs. Server
Replies: 6
Views: 1665

The transformer should be executed in the sequential mode, to achieve the desired output.
by vkhandel
Thu May 08, 2008 12:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Data Capture stage
Replies: 17
Views: 5571

vkhandel, The trim function which you have posted worked. But i was wondering why isn't the normal Trim not working . Thanks! The reason which i understood is that the field is appended with a null character at the end '\0' instead of spaces... thats why the trim function is not able to truncate th...
by vkhandel
Mon May 05, 2008 3:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Data Capture stage
Replies: 17
Views: 5571

I already have a transformer between Db2 stage and a CDC stage,where in i am trimming the varchar fields. But still there is problem. Thanks Try to trim with the following function - Left(Trim(col_name),Len(Trim(col_name))) I have faced the problem, wherein trim was not working properly for the fie...