Thanks for the help Ray, but since I'm not a premium member, I'm not able to view your message fully.
But I've also tried using the same approach, but I'm not able figure out how to loop through the skipped numbers and retrieve their values.
Regards.
Search found 99 matches
- Sat May 02, 2015 3:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Identify missing numbers in a source column
- Replies: 5
- Views: 2247
- Fri May 01, 2015 11:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Identify missing numbers in a source column
- Replies: 5
- Views: 2247
Identify missing numbers in a source column
I have a source column with integer sequence, but the numbers are discontinuous.
Like 2, 4, 5, 6, 8, 25...... and so on.
There is no record count restriction, and I need only those numbers which are missing in the aource sequence as output.
like 1, 3, 7, 9, 10, 11, 12......
Please help.
Regards.
Like 2, 4, 5, 6, 8, 25...... and so on.
There is no record count restriction, and I need only those numbers which are missing in the aource sequence as output.
like 1, 3, 7, 9, 10, 11, 12......
Please help.
Regards.
- Thu Apr 30, 2015 7:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loading flat files with multiple record types in different t
- Replies: 1
- Views: 1299
Loading flat files with multiple record types in different t
I need to read a flat file with multiple record types and load data corresponding to each record type in separate oracle tables. I'm yet to use CFF stage but I've learnt from many sources that CFF's do read files with multiple record schema. The most challenging aspect of this job(to me) is that the...
- Wed Apr 01, 2015 5:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
- Tue Mar 31, 2015 12:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
- Fri Mar 27, 2015 11:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
What I'm trying to do is: Seq file2 | | Aggregator(record count, group by Field1) | | Seq file1-----Join-----------------Column Generator Stage--------------------------Taget Dataset (column to generate=F2, column method=Explicit) In the Mapping tab of the column generator stage, add the following a...
- Fri Mar 27, 2015 10:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
- Wed Mar 25, 2015 8:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
- Wed Mar 25, 2015 7:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
- Tue Mar 24, 2015 11:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add column to input
- Replies: 13
- Views: 5626
Add column to input
Hello All. I've a source text file with data like below: Field1 A A B C C D With this data, I have to generate a temporary dataset , as below: Field1 Field2 A Y A Y B N C Y C Y D N Field2 is populated based on the following logic: 1.If the corresponding Field1 value has duplicates, the Y 2. Else N T...
- Thu Mar 19, 2015 8:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Read files with end-of-line character in its fields
- Replies: 2
- Views: 1359
Read files with end-of-line character in its fields
Hello all. I might be asking the same question as it has already been discussed a multiple times, but I did not find a proper answer. I'm using a Datastage parallel job to load for a siebel identity S_COMMENTS, but one of its field , COMMENT is a free flowing text field that can have end of line cha...
- Tue Mar 10, 2015 11:37 pm
- Forum: General
- Topic: Job sequencer problem
- Replies: 21
- Views: 6874
- Tue Mar 10, 2015 11:17 pm
- Forum: General
- Topic: Job sequencer problem
- Replies: 21
- Views: 6874
Correct me if I'm wrong Ray. If today is March 31st, 2015, i.e., the last day of the current month,then: @DATE=03/31/2015 @DAY=31 Now @DATE+1 will return me 04/01/2015 as its is similar to adding days to a date, but shouldn't the expression @DAY+1 return me 32 instead of 1, as I'm simply adding 1 to...
- Tue Mar 10, 2015 11:01 pm
- Forum: General
- Topic: Job sequencer problem
- Replies: 21
- Views: 6874
- Tue Mar 10, 2015 6:22 am
- Forum: General
- Topic: Job sequencer problem
- Replies: 21
- Views: 6874
@Craig: I'm trying to use a Nested Condition stage and set up a Custom Trigger expression which checks whether the @DAY is equal to the last day of the current month. But the challenge here is I'm not being able to use any Datastage System variable like @DAY or @MONTH or @DATE to get the last day of...