Padding zeros

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
reddysrc
Participant
Posts: 39
Joined: Mon May 30, 2005 3:19 pm

Padding zeros

Post by reddysrc »

Hi All,

could you plz help me to solve the following problem


dslink2.val_01 having value of -125.23 then i need to padd '0's

the finalval should be -00000125.23

i tried with FMT(dslink2.val_01, "10'0'R") but unable to add - sign val .

could you help me

thanks
Chandu
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This question (for width of 16) was answered less than an hour ago.
Does Search not work for you?
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