how to compare Date with decimal value

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
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

how to compare Date with decimal value

Post by deesh »

Hi friends,

How to compare the Date,Here the input Data type is Decimal and i need to compare the current date with the input decimal value, Please help me in this one.

CCVADF and CCVADT are the DECIMAL (8)

ccvadf<=TODAY and ccvadt>=TODAY
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What method was used to convert the date to a decimal value? Is the date stored as a YYYYMMDD or a YYYYDDD or a Julian date? Without knowing that, a conversion or comparison is not possible.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to parallel forum
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