Sort your input records before the transformer and inside the transformer
1. svOld: svNew
2. svNew: <KeyColumn>
3. svCol2: If svOld <> svNew Then svCol2 + 1 Else svCol2
Map this svCol2 to your Col2
Search found 245 matches
- Tue Aug 17, 2010 3:48 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: KeyMgtGetNextValueConcurrent
- Replies: 12
- Views: 8368
- Tue Aug 17, 2010 2:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field from a word
- Replies: 12
- Views: 4806
Use Field function to extract the words based on the delimiter Anbu, creating the delimiter is my problem. I cannot replace the entire word with @FM using convert nor I can use that word as delimiter in the field function. In server I can write the derivation like, Field(Ereplace('Arun Kumar','Kuma...
- Tue Aug 17, 2010 2:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field from a word
- Replies: 12
- Views: 4806
- Tue Aug 17, 2010 1:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field from a word
- Replies: 12
- Views: 4806
Use Field function to extract the words based on the delimiter Anbu, creating the delimiter is my problem. I cannot replace the entire word with @FM using convert nor I can use that word as delimiter in the field function. In server I can write the derivation like, Field(Ereplace('Arun Kumar','Kuma...
- Tue Aug 17, 2010 1:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field from a word
- Replies: 12
- Views: 4806
Field from a word
My requirement is to split the incoming string based on the no. of words. If the source data has four words, my output should be C1 - first 2 words and C2 - next 2 words. If there are 7 words, C1 - 3 words and C2 - next 4 words. I can count the no. of spaces and div by 2 and find the word from which...
- Tue Aug 17, 2010 9:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: "like" in Stage Variables
- Replies: 9
- Views: 4915
- Fri Aug 13, 2010 2:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC date issue
- Replies: 4
- Views: 4372
- Fri Aug 13, 2010 1:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Non-Alpha numeric characters
- Replies: 6
- Views: 2746
- Fri Aug 13, 2010 1:37 pm
- Forum: General
- Topic: My loop stopped working
- Replies: 6
- Views: 2328
I too had a similar problem where the job activity before the end loop behaved as it had the 'Unconditional' trigger. I included a Nested condition between the job activity and the end loop and defined something like EXXXX_AddDetailAndTrailer.$JobStatus = DSJS.RUNOK and connected this to end loop. I...
- Fri Aug 13, 2010 1:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Joining using Transformer Stage
- Replies: 6
- Views: 3119
- Fri Aug 13, 2010 1:04 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Iconv oconv
- Replies: 10
- Views: 7187
- Fri Aug 13, 2010 10:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Server routine compile error in Version 8
- Replies: 7
- Views: 2266
- Fri Aug 13, 2010 12:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DS v8.1 will work in Window 7
- Replies: 4
- Views: 3581
- Thu Aug 12, 2010 5:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help in doing substring
- Replies: 10
- Views: 4392
- Wed Aug 11, 2010 2:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Conversion
- Replies: 13
- Views: 6683
You should be able to change it to Custom SQL, I'm not sure why it is not enabled for you. And for Iconv((),'d4') will convert any of the following dates to internal format, if it is a value other than a valid date, it will convert it to NULL. July 4, 2002 July 4 02 4 July 2002 4 July 02 4 JUL 02 4 ...