Search found 4 matches

by sharmaisha0902
Mon Apr 11, 2016 7:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare Duplicate Records in a File
Replies: 5
Views: 4810

Hi, I used 4 stage variables KeyCheck,PrevKey,DtCheck and Enddt. PrevKey=KeyCheck in.Key=PrevKey StgEndDt=DtCheck in.EndDt=StgEndDt Through applying constraint in transformer,I got the current record which is rejected.I then left join all Valid Records with this Reject Record and got both the record...
by sharmaisha0902
Sat Apr 09, 2016 2:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare Duplicate Records in a File
Replies: 5
Views: 4810

Hi, I have tried this Sort the data on Key and Start Date in Input of transformer if StgVar2=1 and in.StartDate<StgVar3 then FlgReject else FlgValid| StgVar4 in.EndDate | StgVar3 if in.Key=StgVar1 then 1 else 0 | StgVar2 in.Key | StgVar1 Is This Approach correct?
by sharmaisha0902
Fri Apr 08, 2016 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare Duplicate Records in a File
Replies: 5
Views: 4810

Compare Duplicate Records in a File

I want to compare only the duplicate records in a file: For eg Key Start Date End Date 1 1/1/2010 1/1/2012 1 1/1/2011 1/1/2012 The data is sorted on key,Start Date in Ascending Order. If EndDate of the First Record is greater than the StartDate of Second Record, then reject both the records and capt...
by sharmaisha0902
Thu Apr 23, 2015 12:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issues with To_CHAR function
Replies: 12
Views: 12339

Posting on behalf of udayk_2007

Hi, I am team member of user who posted this topic. Just to give an update: The function OConv(IConv(date, "D-YMD[4,2,2]"),"DW") is also returning value as 4 in new environment while in old it is returning 3 when we are passing the date as '2014-10-01'. Even for the other dates t...