HI all,
Can you guys let me know the easiest way to implement Date conversion below
scenario
1/7/02 0:00:00 to db2 date 2002-01-07
Thanks!
Search found 8 matches
- Mon Sep 24, 2007 2:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timestamp to Db2 Date Conversion
- Replies: 1
- Views: 1128
- Wed Sep 19, 2007 9:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Month End Date Manipulation
- Replies: 1
- Views: 1092
Month End Date Manipulation
Hi All,
Question: I have a transformation to subtract no. of months from MonthEndDate
(MonthEndDate(Date field) - Months(Integer Field))
Example: 01/31/2003 - 1 should give 12/31/2002
Do we have any special date function to handle or is there a way to handle this?
Question: I have a transformation to subtract no. of months from MonthEndDate
(MonthEndDate(Date field) - Months(Integer Field))
Example: 01/31/2003 - 1 should give 12/31/2002
Do we have any special date function to handle or is there a way to handle this?
- Mon Aug 21, 2006 2:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Truncate in DB2
- Replies: 11
- Views: 14352
Did u connect to DB2
did you connect to DB2?
if so use
db2 "load from /dev/null of del replace into schama.tablename nonrecoverable"
if so use
db2 "load from /dev/null of del replace into schama.tablename nonrecoverable"
- Wed Oct 26, 2005 4:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning Message
- Replies: 3
- Views: 1499
- Wed Oct 26, 2005 4:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning Message
- Replies: 3
- Views: 1499
Warning Message
Hey Guys,
Can you help me whats the warning message comming for?
Here is the message
Fn_CLlkp: When checking operator: Dropping "DTE_INT_BEGIN" in transfer from "inRec" to "outRec".
Thanks
cmg
Can you help me whats the warning message comming for?
Here is the message
Fn_CLlkp: When checking operator: Dropping "DTE_INT_BEGIN" in transfer from "inRec" to "outRec".
Thanks
cmg
- Mon Sep 26, 2005 9:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Julian to Gregorian(DB2 format YYYYMMDD) date conversion
- Replies: 6
- Views: 8210
- Sat Sep 24, 2005 5:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Julian to Gregorian(DB2 format YYYYMMDD) date conversion
- Replies: 6
- Views: 8210
- Sat Sep 24, 2005 3:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Julian to Gregorian(DB2 format YYYYMMDD) date conversion
- Replies: 6
- Views: 8210
Julian to Gregorian(DB2 format YYYYMMDD) date conversion
Hi Folks, I have a date conversion from julian to DB2 format YYYYMMDDi.e CYYnnn(105032) Where C = 0 If Century is 1900 else 1 is Century 2000 YY - Two Digit Year nnn - The Current Day of the year in 3 digits eg: Jan 1 is 001, Feb 1 is 032 Can you guys assist the logic to implement. Thanks in advance...