File Type Defaults Timestamp

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
jagadam
Premium Member
Premium Member
Posts: 107
Joined: Wed Jul 01, 2009 4:55 pm
Location: Phili

File Type Defaults Timestamp

Post by jagadam »

HI I have the following data coming from file 2/2/01 0:00:00. I have specified in Typedafaults under timestamp as %m/%dd/%yy %h:%nn:%ss ..I have to get result as 2001-02-02 00:00:00 but instead I am getting 1901-02-02 00:00:00as this ... Any idea what can be done on this

Quick reply is appreciated
NJ
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

%2000yy
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jagadam
Premium Member
Premium Member
Posts: 107
Joined: Wed Jul 01, 2009 4:55 pm
Location: Phili

Post by jagadam »

Hi Ray ,
your suggestion worked for me but it created a new problem

for year 00 its giving 2100 instead of 2000

for others 01,02 it did worked from 1901,1902 to 2001 ,2002 etc


Is there anything that can be done to solve 00 apart from xfm

Thanks
Jagadam
NJ
jagadam
Premium Member
Premium Member
Posts: 107
Joined: Wed Jul 01, 2009 4:55 pm
Location: Phili

Post by jagadam »

Well, I Tried with 1999 and it worked .. Thanks
NJ
Post Reply