PX issue

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
Nareshkurra
Participant
Posts: 21
Joined: Mon Aug 04, 2008 8:34 am
Location: Guntur

PX issue

Post by Nareshkurra »

--------------------------------------------------------------------------------





I am having on column named as HIRE_DT The field datatype is decimal( in source and in target it is data type is char(. This field's data type is datetime as 20081022,but for my job's output i am getting this field has 7 characters such as '2008102' , the last character is missing . The design is external source and transformer and target is sql server.
Naresh
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

and your issue is ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's just possible that 2008102 means the 102nd day of 2008. You need to determine what the rules are, and why you're getting seven digits and whether this is correct. We can't help with that - it's something that you have you resolve with the provider of the data.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

i had such issues in DB2 to TD migration. if its ending up in seven characters then Ray is right that the last three are respresting the day number i.e. 102nd day of the year. in TD we have Sys_calender.Calender to check if its mapping to the right date in this case 102nd day = 22nd of december. though does'nt seem right because it should be 11th April :)
Teradata Certified Master V2R5
Post Reply