I WANT TO KNOW ABOUT A DATE FUNCTION

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
amprabhu81
Participant
Posts: 1
Joined: Tue Apr 05, 2005 5:38 am
Location: chennai
Contact:

I WANT TO KNOW ABOUT A DATE FUNCTION

Post by amprabhu81 »

SO CAN U PLEASE TELL ABOUT A DATE FUNCTION (TAG.TO.DATE) SO IAM GETTING A DIFF ANSWER WHEN I INCLUDE THAT FUNCTION , SO CAN ANYONE PLZ TEL WHAT THAT ROUTINE EXACTLY DO .
Luk
Participant
Posts: 133
Joined: Thu Dec 02, 2004 8:35 am
Location: Poland
Contact:

Post by Luk »

hi!

it Converts a string in format YYYY-MM-DD to a numeric internal date,
for example:
TAG.TO.DATE("1993-02-14")=> 9177

(see DS Server Jobs Developer guide page 20-4)

Internal date - it is number of days since 31 December 1967 (day 0)
LUK
talk2shaanc
Charter Member
Charter Member
Posts: 199
Joined: Tue Jan 18, 2005 2:50 am
Location: India

Post by talk2shaanc »

Prabhu,

whenever you have question on any in-built Routines or Transforms , like; what operation a particular routine is doing?
what should be the input or input format?
what would be the output or output format?
etc.. etc..

Just go to DataStage Manager and open that routine, you will find detailed description. You can also see the code of that routine/transform.
Shantanu Choudhary
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

... and please note that shouting (all capitals) is regarded universally on the Internet as rudeness.
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