Search found 53125 matches

by ray.wurlod
Tue Oct 30, 2007 8:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Shell Script
Replies: 5
Views: 1959

In addition to what the others have suggested, please pay attention to maintaining professional standards of English. Not everyone reading posts here has English as a first language.
by ray.wurlod
Tue Oct 30, 2007 8:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: outer join -Job design
Replies: 3
Views: 1342

There is no Join stage in server jobs. A lookup in a Transformer stage naturally performs a left outer join. It can be proven that, by exchanging the left and right links, any right outer join can be constructed as a left outer join. This answer ignores issues of "performance", but so does the quest...
by ray.wurlod
Tue Oct 30, 2007 8:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File with multiple headers
Replies: 5
Views: 1588

Derive the output columns directly from the stage variables, but only in the rows where the stage variables change. For example

Code: Select all

If @INROWNUM = 1 Then InLink.Col1 Else svProc1
by ray.wurlod
Tue Oct 30, 2007 8:13 pm
Forum: General
Topic: Regarding Fatal warning in the transfomer.
Replies: 12
Views: 4437

You might start by looking for anything that might cause a memory exception, such as delivering NULL to a function that can not handle NULL, or division by zero, or attempting to shoehorn too large a string into a bounded string column.
by ray.wurlod
Tue Oct 30, 2007 8:11 pm
Forum: General
Topic: Get max value of a stage variable
Replies: 15
Views: 6135

Use two consecutive Transformer stages, one for each test.

Or use two output links, one for genuine writes, the other for exceptions.
by ray.wurlod
Tue Oct 30, 2007 8:04 pm
Forum: IBM QualityStage
Topic: QualityStage import problem
Replies: 12
Views: 4279

In version 8 there is an Errors and Messages manual. I have not checked to determine whether QualityStage messages are included.
by ray.wurlod
Tue Oct 30, 2007 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: change capture with special characters
Replies: 6
Views: 2545

No. The accented European characters are handled quite happily using the "8-bit ASCII" (ISO8859-1) single-byte encoding used by DataStage without NLS enabled.
by ray.wurlod
Tue Oct 30, 2007 7:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trouble in oracle stage
Replies: 3
Views: 870

That's because some int64 numbers have more than 10 digits. DataStage feels that you need to be alerted to the possibility that you may lose some data.
by ray.wurlod
Tue Oct 30, 2007 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CASE statement available?
Replies: 6
Views: 2250

If it's character-by-character the most efficient function is Convert().

Convert("AYXM","1234",InLink.TheChar)

You might then need to convert to integer of some kind.
by ray.wurlod
Tue Oct 30, 2007 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Matching Row Count
Replies: 12
Views: 3814

Ah, that's rather a different problem. It is solved using a "fork join" technique - split your data into two streams using a Copy stage, run one stream through the Aggregator stage, and re-unite them using a Join stage. The join key and the grouping key are probably the same. ------> Copy stage ----...
by ray.wurlod
Tue Oct 30, 2007 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filesets in Datastage
Replies: 5
Views: 2911

File Set descriptor files are pure text. You might try editing one. But take a backup first, just in case. Things only go wrong if you don't have a backup.

However, this is not true for Lookup File Set or Data Set descriptor files. Don't ever try editing these!
by ray.wurlod
Tue Oct 30, 2007 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User status in parallel
Replies: 8
Views: 6293

You don't need to use a user variable. (Neither does U.)
The user status is available to any downstream activity in the job sequence as an activity variable from the (server) Job activity that set the value in the user status area.
by ray.wurlod
Tue Oct 30, 2007 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle connectivity with datastage
Replies: 2
Views: 9532

You need to configure the Oracle client software. Ask your DBA for assistance. In particular, the tnsnames.ora file needs to be set up for all connections to Oracle that you might need to make. You need to configure ODBC data source names to connect to Oracle instances. This is done by editing the ....
by ray.wurlod
Tue Oct 30, 2007 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Full Outer Join in Join Stage
Replies: 3
Views: 1993

You need to bring all columns into the Transformer stage then come up with some kind of merge strategy. For example If IsNull(LEFTcol) Then RIGHTcol Else LEFTcol Be careful to get this the right way around to handle the situation where neither of the columns is null - that is, that an inner ...
by ray.wurlod
Tue Oct 30, 2007 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timezone support for Date/Timestamp data types
Replies: 3
Views: 4118

Include CAST functions in your SQL (the derivation columns) to convert to VarChar data type during the extraction phase. This will obviate the warning messages.