Unix Technical Forum

Conversion Julian date to Gregorian date on DB2 load

This is a discussion on Conversion Julian date to Gregorian date on DB2 load within the DB2 forums, part of the Database Server Software category; --> Hello, I have Julian date in format YYDDD in the load file. A column in the table to be ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:01 AM
mrabinovich@yahoo.com
 
Posts: n/a
Default Conversion Julian date to Gregorian date on DB2 load

Hello,

I have Julian date in format YYDDD in the load file.
A column in the table to be loaded has regular date format.
I am using IBM load utility. How can I convert data?
(In JCL before Load I can put some logic to modify Julian date field to
YYYYDDD)

Thank you very much.
Mike

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:01 AM
Tonkuma
 
Posts: n/a
Default Re: Conversion Julian date to Gregorian date on DB2 load

DATE function accept 'yyyyddd' as input and convert it to standard date
type.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com