Thousands separator

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Simona
Participant
Posts: 7
Joined: Mon Jan 24, 2005 2:25 pm

Thousands separator

Post by Simona »

Hi,

In a parallel job I need to display a decimal number with thousands separator. Are there any functions available in Parallel for this formatting request? (I'm using Datastage PX 7.5.1)

1234567 should be represented as 1,234,567.00 in the output.

Could you please give me some ideas on how to achieve this?

Thank you in advance,
Simona
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

OConv(YourNumber * 100, "MD2,D")
Simona
Participant
Posts: 7
Joined: Mon Jan 24, 2005 2:25 pm

Post by Simona »

Sainath.Srinivasan wrote:OConv(YourNumber * 100, "MD2,D")
Oconv is not applicable to a Parallel job.

Thanks,
S.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

You can use Basic Transformer to handle this.
Post Reply