Use Round Function: Round(field_name,2)
or
Use longint
Search found 7 matches
- 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
- 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
- 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
- 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
- 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?
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?
- 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
- 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,
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,