Search found 763 matches
- Tue Jul 19, 2005 1:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Remove Duplicates
- Replies: 7
- Views: 2739
You should post this to the Enhancement Wishlist forum. That would be a great option to have. We ran into this sitatuation as well, and it was kind of a pain to capture the duplicates. We ended up adding a separate surrogate key to each record. Then made a copy of the input data (pre-dedup), then de...
- Fri Jul 15, 2005 12:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hexadecimal to Char
- Replies: 6
- Views: 3687
- Wed Jul 13, 2005 3:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How fast is dataset/fileset
- Replies: 3
- Views: 2207
Re: How fast is dataset/fileset
Hi, i know ds/fs would maintain parallalism and would be more faster in performance when compared to sequential stage. But.... A sequential stage with bulk records need to be read twice. Rather than that i created a intermediate fileset from a sequential file, Then i used this fileset for the furth...
- Wed Jul 13, 2005 2:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: convert datetime to timestamp
- Replies: 21
- Views: 16768
- Wed Jul 13, 2005 11:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: convert datetime to timestamp
- Replies: 21
- Views: 16768
Okay, here's an example. Datafile: 0001|2005-07-04 10:15:01.123456 0002|2005-07-04 10:25:02.123456 0003|2005-07-04 10:35:03.123456 0004|2005-07-04 10:45:04.123456 0005|2005-07-04 10:55:05.123456 Sequential Stage input schema: -schema record {final_delim=end, record_delim='\\n', delim='|', null_field...
- Mon Jul 11, 2005 3:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Difference between File Set, Data Set and Sequential file
- Replies: 5
- Views: 8839
I'm sure I mentioned that! 8) Fixed width sequential files CAN be read in parallel mode. Each node reads 1/N of the lines in the file. Because it's fixed width (and therefore the row size and file size are quickly able to be calculated), each process can be given a specific seek() request about whe...
- Mon Jul 11, 2005 11:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: multiple text files as input
- Replies: 9
- Views: 3918
Another option if the names are consistent - you can use a fileset to pull them in. You may have 100 different files with a .dat extension, containing multiple layouts, but the fileset only grabs those files you have specified. The fileset is basically a list of files to process. Here's an example: ...
- Mon Jul 11, 2005 10:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: convert datetime to timestamp
- Replies: 21
- Views: 16768
If you want to do this in a buildop, there are a few different options. If you can get the datetime into a string format, the set function will work. The definition is: /** Sets the timestamp object's state by parsing the supplied string, using an optional format string. @note If the string contains...
- Wed Jul 06, 2005 12:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error extracting date with date 0001-01-01 from Teradata
- Replies: 3
- Views: 6538
- Wed Jul 06, 2005 12:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Filter Stage using sysdate in WHERE clause
- Replies: 4
- Views: 6975
- Wed Jul 06, 2005 12:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Deleting orphaned datasets
- Replies: 2
- Views: 1486
We have a similar process. We opted not to do a system wide search because we force all of our *.ds files to be written to a very select set of directories, and all of the physical data files (referenced by the dataset) are only written in one location. Made the search much quicker (the find command...
- Mon Jun 27, 2005 4:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to remove non-ascii char from a string
- Replies: 4
- Views: 5251
Remember, we use it in a buildop (Build/Logic/Definitions). I think there are ways to create your own C/C++ functions to be referenced from Transforms, but I do not know how. // Convert any non-graphical characters to ' ' APT_String stringToGraph(APT_String); APT_String stringToGraph(APT_String str)...
- Fri Jun 24, 2005 8:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: What defines a 'copy' in Change Capture
- Replies: 4
- Views: 2684
- Thu Jun 23, 2005 4:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: What defines a 'copy' in Change Capture
- Replies: 4
- Views: 2684
What defines a 'copy' in Change Capture
I have created the following process: before_dataset > ChangeCapture > change_dataset after_dataset I specified a change key (cust_acct_id), Change Mode is Explicit Keys, All Values, and I have 2 excluded value fields (period_dt, load_ts). When I run this, I get change_code values of 1-3 (insert, de...
- Thu Jun 23, 2005 1:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: What is the Business use of Change Capt/Change Apply?
- Replies: 2
- Views: 1608
What is the Business use of Change Capt/Change Apply?
I have not used the Change Capture or Change Apply stages before, so I have been reading the documentation. Now, I understand the Change Capture (identify copies, deletes, inserts, and updates from before and after datasets). However, I am a little confused by the Change Apply stage. According to th...