Search found 32 matches

by mpouet
Wed Sep 21, 2005 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Suppression Of left zeroes
Replies: 10
Views: 7237

Suppression Of left zeroes

Hi,

I need to suppress the left zeroes in a string.
For example : '0000525600254000' ==> '525600254000'
Does anyone have an idea ?

Thanks
Matthieu
by mpouet
Fri Sep 09, 2005 2:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Memory Fault Error...Parallel job reports failure (code 139)
Replies: 4
Views: 4493

Hi,

Are you sure your input file exists ?

Matthieu
by mpouet
Mon Aug 08, 2005 1:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null detection after joiner
Replies: 10
Views: 7319

Hi, I used change capture. I don't use PX for 4 month, but I remembered it works well. If the change capture allow to have only the new lines and the modified ones and you need to keep the before lines also, may be you should add a funnel. Analysing modified, new, old [...] lines by a join stage is ...
by mpouet
Sun Aug 07, 2005 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: simple question reg aggregator
Replies: 8
Views: 2641

Euh... the name of the stage is "remove duplicate".

Have fun.
Matthieu
by mpouet
Sun Aug 07, 2005 3:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: simple question reg aggregator
Replies: 8
Views: 2641

Hi, If I understand your problem, I think you have a very better way to do this. First step : partition by "deptno" Second step : sort by "sal" with the sort stage (descending mode) Last step : use the stage which permit to have unique record on a key (I don't remember its name)....
by mpouet
Thu May 26, 2005 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: user defined sql
Replies: 6
Views: 2608

Re: user defined sql

HI,

1) There is a space between "666," and "667" in your query.
2) Are your sure you are not supposed to use "." as decimal separator.

Good luck
Matthieu
by mpouet
Mon Feb 21, 2005 12:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding the stripping of single quote character
Replies: 9
Views: 5067

Re: Avoiding the stripping of single quote character

We use a query like this : SELECT KEY, Field1, Field2 FROM TABLE WHERE Field1 in (#PARAM1#) OR Field2 in (#PARAM2#) PARAM1 = \'VALUE1\' PARAM2 = \'VALUE2\' If we don't use \ then the query is seen like SELECT KEY, Field1, Field2 FROM TABLE WHERE Field1 in (VALUE1) OR Field2 in (VALUE1) and doesn't w...
by mpouet
Mon Feb 21, 2005 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding the stripping of single quote character
Replies: 9
Views: 5067

Re: Avoiding the stripping of single quote character

Hi alone,

You have to put \ or / (I don't remember) before the quote.

Have fun.
Matthieu.
by mpouet
Wed Feb 16, 2005 10:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORCHESTRATE process
Replies: 4
Views: 2584

Hi nivas,

Try to monitor the virtual memory. You may not have enough space.

Good luck
Matthieu
by mpouet
Sat Jan 08, 2005 7:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX 6.0 String to Decimal
Replies: 12
Views: 6384

Yes I'm talking about PX job. As strange as it seems it works with Datastage 6.0.1 version (I don't know with 7 version) ! We tried this after many problems with the conversion from string to decimal. About 5% of the datas with decimal values were wrong when a sign was included in the numeric field....
by mpouet
Fri Jan 07, 2005 6:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX 6.0 String to Decimal
Replies: 12
Views: 6384

hi Jay, The right formula is : StringToDecimal(convert(".", "", Link.ColumnName))/1000. In 6 version (I don't know if it works with 7 version) of datastage you can also use a transformer to convert a varchar into decimal without any convertion formula like 'stringtodecimal'. Just...
by mpouet
Fri Jan 07, 2005 8:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal rounding
Replies: 8
Views: 7617

Re: Decimal rounding

Just a precision.
I don't know why (may be something with the buffer) but in the transformer you use this formula you have to declare the field as decimal(11,3). If you really need to change to decimal(7,3) (not needed for Oracle) add a second transformer.

Bye
Matthieu
by mpouet
Fri Jan 07, 2005 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal rounding
Replies: 8
Views: 7617

Re: Decimal rounding

Hi,

I found something for you.
Try this : DecimalToDecimal(StringToDecimal(convert(".", "", Link.FIELD))/1000, 'round_inf')/1000

000000000002.423567 -> 000000000002.424
000000000001.423467 -> 000000000002.423

Ciao
Matthieu
by mpouet
Fri Dec 17, 2004 9:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Urgent ********* Decimal to pass without rounding
Replies: 1
Views: 1619

Re: Urgent ********* Decimal to pass without rounding

Hi,

Declare your field in the sequential file as string 18 and try this :
StringToDecimal(convert(".", "", Link.Field))/1000000000000000

It must work... tell us

Bye
Matthieu
by mpouet
Fri Dec 17, 2004 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_CombinedOperatorController,1: Operator terminated abnorm
Replies: 4
Views: 4076

Hi,

I had this error. It was a partitioning mistake. Check all your 'advanced' properties and your 'partition type'. If you don't find anything wrong try to extract in sequential mode from Oracle.

Good luck.
Matthieu