Difference Between NUM & IsValid(Decimal'[]') functions

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
anusha
Premium Member
Premium Member
Posts: 37
Joined: Wed Nov 28, 2007 1:29 am
Location: pune

Difference Between NUM & IsValid(Decimal'[]') functions

Post by anusha »

Hello Experts,
My Query seems very silly but I have a little confusion around functions Num & Isvalid(Decimal'[36,18]',stringData).

Isvalid(Decimal'[36,18]',stringData) is not actually Validating the Data coming with Space in it. If incoming Data includes any spaces in it, it will treat it as a valid record but instead Num functions is able to handle all the possiblities of the data.

So can any body suggest what's wrong with the IsValid Function and BTW please differentiate between NUM & ISVALID function.

-- working on:
DS 8.0.1
Sun Solaris 5.10

Thanks in advance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I'm hesitant to comment on any such behaviour in the 8.0.x release as it was buggy as heck and there are so many patches and fixpacks you may or may not have installed. May I humbly suggest you upgrade ASAP to the latest 8.1.x release? You'll be much happier. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply