Only Time & Date is not geting extracted from JDE

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
monalisa21
Participant
Posts: 12
Joined: Thu Nov 30, 2006 3:14 am
Location: India

Only Time & Date is not geting extracted from JDE

Post by monalisa21 »

There are many fields which are getting extracted from JDE.

But all fields except two date & time fields are exteacted as 00-00-0000 & 00:00:00.

All other fields are getting exatrcted correctly throgh that same job.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

JD Edwards has an idiosyncratic way to store dates. Extract them as VarChar and convert them within your job. Search the forum for examples.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
monalisa21
Participant
Posts: 12
Joined: Thu Nov 30, 2006 3:14 am
Location: India

Post by monalisa21 »

ray.wurlod wrote:JD Edwards has an idiosyncratic way to store dates. Extract them as VarChar and convert them within your job. Search the forum for examples. ...

It is extracted as varchar.

Point is that same job with different source file is working fine.
Regards,
Monalisa
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If they are extracte as VarChar and coming out like that, then that's how they are in that particular source file. NO conversion takes place for VarChar. Your problem is with your 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.
monalisa21
Participant
Posts: 12
Joined: Thu Nov 30, 2006 3:14 am
Location: India

Post by monalisa21 »

ray.wurlod wrote:If they are extracte as VarChar and coming out like that, then that's how they are in that particular source file. NO conversion takes place for VarChar. Your problem is with your data. ...

No same data extracted correctly in DS6.0 ver for same job.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Post some lines from this file. Also post what the structure (metadata) is.

And please delete the duplicate posts you have in the server 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