Search found 6797 matches

by DSguru2B
Mon Mar 05, 2007 11:47 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

This is what I came up with. Its working piece of code. More error handling can be added. FUNCTION getMedian(myList) Equate RoutineName To 'getMedian' myArr = CONVERT(",", @FM, myList) ; * Convert List to array numItems = DCOUNT(myArr, @FM) ; * Get the number of ite...
by DSguru2B
Mon Mar 05, 2007 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Build op - Float comparison.
Replies: 6
Views: 1785

For a check you need two equal signs. You have only one ("else if (CHD_STATUS_REASON_CODE = 89)")
by DSguru2B
Mon Mar 05, 2007 8:16 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

Line the data in sorted format and get the number dead in the middle. If there are only two entries, take the mean.
by DSguru2B
Mon Mar 05, 2007 8:08 am
Forum: General
Topic: Impossible...more like Im Possible !
Replies: 7
Views: 2118

Next time anyone says Impossible, pass them this story :wink: and post what happened next :twisted:
by DSguru2B
Mon Mar 05, 2007 8:07 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

You can certainly tailor your own function that calculates a median.
by DSguru2B
Mon Mar 05, 2007 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: clearing scratch space
Replies: 9
Views: 2504

You need more space. As Ray puts it, supply and demand.
by DSguru2B
Mon Mar 05, 2007 8:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to assign sequence numbers to sorted data ?
Replies: 7
Views: 1573

A simple search would have revealed the methodolgy. Group changes and key assingment has been discussed a number of times.
by DSguru2B
Mon Mar 05, 2007 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to update the source table in the same job?
Replies: 17
Views: 4907

My direction was towards modularization. More like an advice on not to do it in a single job.
by DSguru2B
Sun Mar 04, 2007 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type cast
Replies: 8
Views: 1795

Hmm, interesting. Server is still linient. Even if these functions are not used, the datatypes can be altered by specifying different target datatypes.
by DSguru2B
Sun Mar 04, 2007 11:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type cast
Replies: 8
Views: 1795

kumar_s wrote:There are 'Conversion' available under 'Functions'. Iconv/Oconv are majorly used.

ICONV/OCONV for datatype conversions :? , you sure Kumar?
by DSguru2B
Sun Mar 04, 2007 11:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Usage of PL sql In Data Stage server Jobs ( Not Batch Jobs)
Replies: 5
Views: 3830

Welcome Aboard, Batch jobs, in Datastage, is a collection of DataStage jobs coupled into a batch job. You can also write your own for more functionlity. Changing a batch job into a single datastage jobs means doing everything a batch job does in a single job. Not advisable, not recommened. Keep the ...
by DSguru2B
Sun Mar 04, 2007 11:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type cast
Replies: 8
Views: 1795

In server jobs just change the sql type of the target stage. The change is implicit, unlike parallel jobs.
by DSguru2B
Sun Mar 04, 2007 7:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Null field on a fixed width sequential file
Replies: 21
Views: 4869

The buildop will be c compiled code. So is the transformer's code. Ask them to give support a call for a document. The transformer has been imporved a lot and has no performance bottle necks. Go for a bench mark.
by DSguru2B
Sun Mar 04, 2007 5:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help on dsexport
Replies: 40
Views: 15946

...and again. :P
by DSguru2B
Sun Mar 04, 2007 10:57 am
Forum: General
Topic: Impossible...more like Im Possible !
Replies: 7
Views: 2118

Impossible...more like Im Possible !

Guys,
I recieved an interesting article/joke/story in my mail. It has a good moral to it so I decided to post it here. Check it out.