yes I did that
TimestampFromSecondsSince(10800,StringToTimestamp(i.column,"%(m,s) %(d,s) %yyyy %(H,s):%n:%s"))
Thanks for the reply
Search found 89 matches
- Thu Jan 30, 2014 8:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: adding 3 hours to time stamp
- Replies: 3
- Views: 2053
- Thu Jan 30, 2014 5:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: adding 3 hours to time stamp
- Replies: 3
- Views: 2053
adding 3 hours to time stamp
I have source data as Nvarchar Source. 12/01/2013 15:13:17 -0800 12/09/2013 13:41:12 -0800 01/07/2014 07:09:40 -0800 I need to add 3 hours for only hours part. 12/01/2013 18:13:17 12/09/2013 16:41:12 01/07/2014 10:09:40 I tried to substing[1,19) then convert to string to timestamp then it is working...
- Mon Jan 13, 2014 7:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: remove string Dynamically
- Replies: 3
- Views: 2689
remove string Dynamically
Hi All I am trying to get the data between the string dynamically which is '~'. Any ideas would be appreciated. Source 0000000002 000000000 ~0000000009~1001~ ~VENDOR~0000000138~1001~ ~VENDOR~0020009816~2001~ ~0020009816~2100~ Target required 0000000002 000000000 0000000009 0000000138 0020009816 0020...
- Wed Oct 17, 2012 6:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: derviation logic with derviation substituion $1 logic
- Replies: 5
- Views: 3238
- Sun Oct 14, 2012 9:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: derviation logic with derviation substituion $1 logic
- Replies: 5
- Views: 3238
- Fri Oct 12, 2012 7:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: derviation logic with derviation substituion $1 logic
- Replies: 5
- Views: 3238
derviation logic with derviation substituion $1 logic
hi all I have requirement I have 600 coulmns in xfm were I need to put same derviation for all 600 columns except numbering which is highlighted below. Trim(Field(svREC, svnewdel, 1 ),svquote,'B') Trim(Field(svREC, svnewdel, 2 ),svquote,'B') Trim(Field(svREC, svnewdel, 3 ),svquote,'B'). ...............
- Thu Sep 20, 2012 5:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to timestamp conversion
- Replies: 3
- Views: 2721
- Thu Sep 20, 2012 5:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to timestamp conversion
- Replies: 3
- Views: 2721
string to timestamp conversion
HI All,
my source has a varchar column DATE with following data :
8/3/2012 12:00:00 AM
My target should be like this
2012-08-03 00:00:00
I tried with date conversions but not getting exact output any ideas really appreciated Thanks M
my source has a varchar column DATE with following data :
8/3/2012 12:00:00 AM
My target should be like this
2012-08-03 00:00:00
I tried with date conversions but not getting exact output any ideas really appreciated Thanks M
- Mon Aug 20, 2012 6:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
Re: how to satisfy for unkown incoming data for multiplescen
after this I did the substring it worked fine thanks for your idea.
- Mon Aug 20, 2012 5:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
Re: how to satisfy for unkown incoming data for multiplescen
it worked partially for vendor it worked fine but LFA1 it brought the output with 1 and then the data? how to resolve this source_data Target data ~LFA1~0005002430~ outputwould be 10005002430 ~VENDOR~33940~ outputwould be 33940 ~VENDOR~217~1095-1~ outputwould be 217~1095-1
- Mon Aug 20, 2012 5:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
- Mon Aug 20, 2012 5:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
- Mon Aug 20, 2012 5:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
- Mon Aug 20, 2012 3:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to satisfy for unkown incoming data for multiplescenario
- Replies: 12
- Views: 5478
how to satisfy for unkown incoming data for multiplescenario
Hi all I have input.column. I need to satisfy this on both conditions any idea? "Parse all value after the string literal i.e. LFA1 or VENDOR, e.g. source_data Target data ~LFA1~0005002430~ outputwould be 0005002430 ~VENDOR~33940~ outputwould be 33940 ~VENDOR~217~1095-1~ outputwould be 217~1095-1
- Tue Aug 07, 2012 6:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: replace quote character " " with ~#
- Replies: 4
- Views: 3003