Search found 7 matches

by skrakesh
Thu Jul 13, 2006 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Leading 0's
Replies: 34
Views: 18474

Use Round Function: Round(field_name,2)

or

Use longint
by skrakesh
Thu Jul 13, 2006 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in DataStage Job
Replies: 6
Views: 3156

Thanks Everyone! I figured the answer out.

I need to create a buidop which will do the branching for me to divert to appropriate output link and select from appropriate input link.
by skrakesh
Thu Jul 13, 2006 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in DataStage Job
Replies: 6
Views: 3156

why dont u use "do while" in Unix scripting? The job flow design contains lot of other stuff within the job itself. The looping required is for different file merge with different schema and I am using Generic Stage to provide the dynamic expression files to merge operator. This merge ope...
by skrakesh
Thu Jul 13, 2006 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in DataStage Job
Replies: 6
Views: 3156

Thanks DSGuru!

The problem is the environment being used here doesnot support sequencer. I need to loop within DataStage job.
by skrakesh
Thu Jul 13, 2006 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in DataStage Job
Replies: 6
Views: 3156

Looping in DataStage Job

I need to loop 'x' times for a functionality. 'x' is a variable and can be passed as an environment variable to the job.

if x=4; I need to loop for a particular logic (coded within shared container) 4 times.

How can I handle looping in DataStage PX job?
by skrakesh
Thu Aug 11, 2005 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding of Numeric Data
Replies: 2
Views: 1987

Thanks Ray,

I could not find any function with the name mentioned by you.

Instead, I used DecimalToDecimal(%string%,"round_inf") to get the rounded data as I needed.
by skrakesh
Wed Aug 10, 2005 10:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding of Numeric Data
Replies: 2
Views: 1987

Rounding of Numeric Data

Hi,

We need to ROUND the numeric data result of a numeric division to nearest integer value. Is there a function in PX to address this?

>2.5 should be rounded to 3
<=2.5 should be rounded to 2

Thanks,