Logic Implementation

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
rhaddur
Participant
Posts: 52
Joined: Mon Mar 13, 2006 7:33 am
Location: mumbai

Logic Implementation

Post by rhaddur »

Source is Decimal 20.3 target Decimal 17.3

How to map MSD from souce to target
e.g

The source field value is 12345678901234567890.123

then the target field value will be 12345678901234567.123

Any Idea appreciated
Rhaddur
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

MSD???
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
rhaddur
Participant
Posts: 52
Joined: Mon Mar 13, 2006 7:33 am
Location: mumbai

Post by rhaddur »

miwinter wrote:MSD???
MSD= most significant digits
Rhaddur
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Int(InputField / 1000) : "." : Field(InputField, ".", 2, 1)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply