Suggestion 1 passes 0 records.
suggestion 2 passes all the records that I have in the input.
suggestion 3 passes less number of records the the count I have. However this was much closer but this gives only those records in output where keychange=1.
Search found 19 matches
- Mon Jun 16, 2014 2:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: GET N rows in output based on counts
- Replies: 11
- Views: 5690
- Mon Jun 16, 2014 2:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: GET N rows in output based on counts
- Replies: 11
- Views: 5690
- Wed Jun 04, 2014 12:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: GET N rows in output based on counts
- Replies: 11
- Views: 5690
GET N rows in output based on counts
Example: Input: col1 col2 col3 col4 10 10/01/2011 10/31/2011 2 10 11/01/2011 11/31/2011 2 10 12/01/2011 12/31/2011 2 10 01/01/2012 01/31/2012 2 11 10/01/2011 10/31/2011 5 11 11/01/2011 11/31/2011 5 11 12/01/2011 12/31/2011 5 11 01/01/2012 01/31/2012 5 11 02/01/2011 02/31/2011 5 11 03/01/2011 03/31/2...
- Wed Dec 04, 2013 11:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: xml ouput stage Repeated Header Problem.
- Replies: 1
- Views: 1604
xml ouput stage Repeated Header Problem.
Hello Group, I am using XML output stage. My ouput at this point is 1 and my desired ouput is 2. Please let me know what needs to be done in order to get an ouput like 2. My header are repeating , but my requirement is to have the header(open and close) only once and the childs to be repeated for ev...
- Fri Nov 22, 2013 3:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to insert job parameter in new xml stage
- Replies: 0
- Views: 1354
how to insert job parameter in new xml stage
I have a scenario where I am generating an xml as output and have input columns coming from the transfomer. At this time, I am using the new xml stage (green and silver symbol). I would like to know as how can I insert a job parameter listed in the job properties to a header attribute of the xml. Ri...
- Tue Oct 29, 2013 9:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence number to duplicates
- Replies: 3
- Views: 1961
- Mon Oct 28, 2013 1:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence number to duplicates
- Replies: 3
- Views: 1961
Sequence number to duplicates
I have a scenario based question. I have an Input ID and want to add a seqID for every duplicate. If there are no duplicates then seqid should be 1 else if duplicate is found then increment seqid by 1. Below is the example of how the input and output may look. I would appreciate if someone could hel...
- Mon Aug 05, 2013 7:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup_103,1: Field "ID" has keyprep export format
- Replies: 11
- Views: 9375
- Tue Jul 30, 2013 8:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup_103,1: Field "ID" has keyprep export format
- Replies: 11
- Views: 9375
The datatype for reference link, input stream and output are timestamp and microseconds(extended). I went through all the post but none of them helped me. Also, I am able to view the data on my reference as well as input stream. Data from both streams come from a db2 database and I am using a db2 co...
- Mon Jul 29, 2013 2:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup_103,1: Field "ID" has keyprep export format
- Replies: 11
- Views: 9375
Re: Lookup_103,1: Field "ID" has keyprep export fo
This doesn't Help me. Could someone please look into this error and give me a solution please.
- Fri Jul 26, 2013 11:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup_103,1: Field "ID" has keyprep export format
- Replies: 11
- Views: 9375
Lookup_103,1: Field "ID" has keyprep export format
I am doing a lookup on ID field. Both, input as well as reference have datatype timestamp length 26 , scale 6. When I run my job I am getting the following error Lookup_103,1: Field "ID" has keyprep export format error; value: ************************** Lookup_103,1: Failed keylookup on ta...
- Thu Jul 25, 2013 1:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: yyyy-mm-dd TO MMYYYY DATASTAGE
- Replies: 3
- Views: 1935
- Thu Jul 25, 2013 12:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: yyyy-mm-dd TO MMYYYY DATASTAGE
- Replies: 3
- Views: 1935
yyyy-mm-dd TO MMYYYY DATASTAGE
How can I convert yyyy-mm-dd TO MMYYYY in DATASTAGE??
- Tue Jul 23, 2013 8:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Group On One Column and Get Data from Other Column
- Replies: 6
- Views: 2892
These responses don't help me as I was looking for a generic solution using a stage variables. Some of them are partially correct but still don't give me a complete solution to my problem. Nevertheless I had to use a lookup stage and left join on PNO with the same table where cno=0 and dno=0 and gra...
- Mon Jul 22, 2013 8:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: No input sort key information found
- Replies: 3
- Views: 5177