Thanks Sainath& ArndW.
I will go try out sort->transform->sort->transform today.
I was wondering if there is any better way available to solve it in parallel edition(my client is planning on purchasing parallel edition)?
Search found 37 matches
- Wed Apr 21, 2010 11:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Moving all Duplicate records to second file
- Replies: 5
- Views: 3218
- Wed Apr 21, 2010 3:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Moving all Duplicate records to second file
- Replies: 5
- Views: 3218
Moving all Duplicate records to second file
Hi, My requirement is to read data from a sequential file and move all records which have duplicates in primary key column to one file while moving others to a second file(order or records does not matter). Input File(first column is key column) abc, 123 rtr, 3434 abc, 5454 def, 34353 rtr, 343436 ef...
- Mon Jul 07, 2008 12:40 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Using system Date variables making JOB slow
- Replies: 3
- Views: 2429
- Mon Jul 07, 2008 12:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Using system Date variables making JOB slow
- Replies: 3
- Views: 2429
Using system Date variables making JOB slow
Hi, My requirement is to write system timestamp in one of columns of target table. Even if the job runs for two hours, it is okay to populate table with a single timestamp value instead of extracting timestamp from system for each row. In one of the transformations I am setting DSJobStartTimestamp v...
- Mon Apr 07, 2008 1:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: query on vertical pivot
- Replies: 7
- Views: 3613
You probably need to constrain the output to pass only those rows that are complete. Thats precisely why I am using an Aggregator Stage(with last derivation) or a hash file stage which gives me last write. I will try putting up constraint in transformer itself, but the question still remains unansw...
- Sun Apr 06, 2008 11:46 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: query on vertical pivot
- Replies: 7
- Views: 3613
- Fri Apr 04, 2008 6:26 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: query on vertical pivot
- Replies: 7
- Views: 3613
- Fri Apr 04, 2008 12:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: query on vertical pivot
- Replies: 7
- Views: 3613
query on vertical pivot
Hi, I am doing vertical pivot on the lines of whats mentioned at - http://dsxchange.com/viewtopic.php?t=97681&start=0&sid=f2129441ee011480f77b45d58c385d2b Now, in the above solution, final data is being written in a hash file as it overwrites values for same keys with no extra effort. Since ...
- Tue Oct 30, 2007 11:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Support for large dates - say 5874897-12-31
- Replies: 7
- Views: 3670
- Mon Oct 29, 2007 11:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timezone support for Date/Timestamp data types
- Replies: 3
- Views: 4957
- Mon Oct 29, 2007 9:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Support for large dates - say 5874897-12-31
- Replies: 7
- Views: 3670
>what database supports 'large dates' like that. Well postgres database supports that, and i guess other datases would also support atleast dates with 5 digit years %yyyyy-%mm-%dd >why in the world would you want to use them why not, say I have a database of objects related to archeology(or may be e...
- Mon Oct 29, 2007 9:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Support for large dates - say 5874897-12-31
- Replies: 7
- Views: 3670
Support for large dates - say 5874897-12-31
Hi, I wish to insert records with large dates as in 5874897-12-31. The field can contain smaller dates as well say 101-12-31. The function date_from_string in datastage requires exact date format %yyyy-%%mm-%dd, but my data can vary from %yyy-%mm-%dd to %yyyyyyy-%mm-%dd. Is there any way to convert ...
- Mon Oct 29, 2007 9:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timezone support for Date/Timestamp data types
- Replies: 3
- Views: 4957
Timezone support for Date/Timestamp data types
Hi, I was wondering if there is anyway to extract(or load) records of date/timestamp/time datatypes with *timezone* information. My Database fields for date/time have timezone information associated with them, but when I use datastage timestamp/date datatypes it gets truncated. Other way round, when...
- Fri Oct 26, 2007 6:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ODBC Connector Stage - Partition Reads Error
- Replies: 6
- Views: 8095
This time I tried the same thing with DB2 v8. Here again, without partition reads jobs works fine and with partition reads the job fails. I am pasting the error log for Db2: I am using data direct driver for db2. Item #: 11 Event ID: 361 Timestamp:: 2007-10-26 17:33:31 Type: Info User Name: dsadm Me...
- Thu Oct 25, 2007 11:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ODBC Connector Stage - Partition Reads Error
- Replies: 6
- Views: 8095