Search found 8 matches

by cmg
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

Timestamp to Db2 Date Conversion

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!
by cmg
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?
by cmg
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"
by cmg
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

Yes Kenneth
I have couple of datasets to couple of transformers and funneling them.
by cmg
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
by 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

Ray,
Can you give me a detail example.
like how do i convert 105030 to 2005/01/30
I tried to use the function in transformer date from juliandate but iam getting output as **********.
Any help is appreciated

Thanks in advance!
cmg
by cmg
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

Thanks Ray n Bala.
I have a function in PX like DatefromJulianDay whether it works.
Hope this will not work
Any suggestion?
by cmg
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...