DB2API stage

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
mrvsr
Premium Member
Premium Member
Posts: 40
Joined: Fri Aug 03, 2007 8:33 am

DB2API stage

Post by mrvsr »

Hi
I am trying to get the data from DB2 using API stage .
I am selecting a field datatype is date and in result it showing the date as below.
14792 (2008-06-30)
But I am expecting only (2008-06-30).

Please let me know how can I eliminate the Internal date representation(14792)

Thanks
Thanks
MRVSR
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Where are you displaying this date-as-string, and are you certain this is a PX and not a Server job?
Cr.Cezon
Participant
Posts: 101
Joined: Mon Mar 05, 2007 4:59 am
Location: Madrid

Post by Cr.Cezon »

DataStage shows you :
14792 that is the internal date format.
If you don't want ro use internal date format of DS use type = char.
Post Reply