Search found 53125 matches
- Thu Aug 03, 2006 10:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: non delimiter file
- Replies: 13
- Views: 4688
The wc -l command reports the number of lines in the file. If it can count lines, then there ARE line terminator characters. Your original suggestion, that there are none, is disproven. You can get a Windows server to read UNIX files using a gateway such as samba. Or you can FTP the files from the U...
- Thu Aug 03, 2006 10:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: External Source Stage
- Replies: 2
- Views: 1069
The External Source stage executes a command (possibly a shell script). That command's stdout becomes the output of the External Source stage. Assuming you have a script that can "read a file from a URL path" (whatever that involves), you can pipe its result through tail -1 to get the last line. If ...
- Thu Aug 03, 2006 8:22 am
- Forum: General
- Topic: Necessary Evil?
- Replies: 13
- Views: 8447
- Thu Aug 03, 2006 7:18 am
- Forum: General
- Topic: Necessary Evil?
- Replies: 13
- Views: 8447
Necessary Evil?
In this post Ken claims that cable television companies and car dealerships are necessary evils. It occurs to me to ask in what way either of these is necessary.
- Thu Aug 03, 2006 2:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Adding a new data source...
- Replies: 6
- Views: 3399
- Thu Aug 03, 2006 2:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Splitting a Sequential File
- Replies: 3
- Views: 1155
- Thu Aug 03, 2006 2:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Display the Lookup Value
- Replies: 1
- Views: 862
While DataStage does not "display" anything (it runs as background processes), what you are describing is precisely how the lookup mechanism in the Transformer stage works. Supply the reference key expression with the input value. On the other end of the reference input link have a stage type that a...
- Thu Aug 03, 2006 1:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Numeric to Date Conversion
- Replies: 2
- Views: 1413
It has since occurred to me that step 1 (extraction of the month number) could readily be achieved with a MatchField() function.
Code: Select all
MatchField(InLink.TheValue, "0X'('0N'+'0X", 3)- Thu Aug 03, 2006 1:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Compilation Error when Transformer is used
- Replies: 5
- Views: 2336
- Thu Aug 03, 2006 1:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Numeric to Date Conversion
- Replies: 2
- Views: 1413
You would have helped yourself by creating a written specification. Your input data is of the form "CD(m+n) yyyy" and what you want out of this is the month name corresponding to m. Is this correct? Break down the specification into algorithmic steps. 1. Extract m from input value. This is the value...
- Wed Aug 02, 2006 11:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup Error Failed to match node
- Replies: 5
- Views: 2366
Given that the original post specified "same configuration file" I guess the question is whether the job that populated the Lookup File Set used the default node pool or was constrained to operate in a particular node pool at that time. However, it's much more likely that there is a problem with nod...
- Wed Aug 02, 2006 10:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Adding a new data source...
- Replies: 6
- Views: 3399
URGENT is an unusual name for a data source. Etiquette Note We don't do "urgent" requests here. All contributions are voluntary, in unpaid time. We post as and when we can. If you need urgent answers, sign up for premium level support from your support provider. You will find that urgency comes with...
- Wed Aug 02, 2006 10:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Duplicate records in a Hash File !!!
- Replies: 6
- Views: 3194
It is not possible to have true duplicates without the hashed file being damaged. <pedantry>Non-printing and space characters are not duplicate keys.</pedantry> Although they may appear to be, to the human viewer. There are a couple of ways that duplicate keys can occur in a damaged hashed file. One...
- Wed Aug 02, 2006 10:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error records in DataWarehouse
- Replies: 3
- Views: 1301
Connectivity failures, including network, database server, authentication errors (e.g. wrong password) and more. These should be immediately fatal. Violation of security and/or integrity constraints (most usually primary key uniqueness constraints), which should be prevented in your design. Property...
- Wed Aug 02, 2006 9:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: non delimiter file
- Replies: 13
- Views: 4688
Why not FTP both files from the UNIX machine and load them into DataStage with a filter (type file1 file2) in a Sequential File stage? Specify the stage properties as no line terminator, and the record as fixed-width format. That way the column display widths will completely specify the row structur...