Search found 89 matches

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

yes I did that

TimestampFromSecondsSince(10800,StringToTimestamp(i.column,"%(m,s) %(d,s) %yyyy %(H,s):%n:%s"))

Thanks for the reply
by marpadga18
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...
by marpadga18
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...
by marpadga18
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

Hi Arndw/Ray,

As per your suggestion we exported the job and ran small java program on that dsx file then again reimported it it worked like charm. Thank you all once again.
by marpadga18
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

Hi ray/arndw,

I will get back to you on this.. any way thanks for valuable suggestions..
by marpadga18
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'). ...............
by marpadga18
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

StringToTimestamp(lnk_src_exl_onbase.DATE,"%(m,s)/%(d,s)/%yyyy%(H,s):%nn:%ss%aa")
by marpadga18
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
by marpadga18
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
by marpadga18
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

chulett wrote:We both did.
I said sorry
by marpadga18
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

Sorry its my mistake could give some derviation for the above
by marpadga18
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

So... how accurate is your example data? Are you literally looking for just "LFA1" or "VENDOR" or does it not really matter what value the "literal string" contains? Can this requirement boil ... Hi chulett, The literal string will be LFA1 and VENDOR only not other tha...
by marpadga18
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
by marpadga18
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

Hi Andrew,
So I should create parallel routine..Andrew?