Search found 53125 matches

by ray.wurlod
Tue Apr 12, 2011 8:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help regarding RANDOM data selecting
Replies: 29
Views: 9149

Job parameter seems to be indicated then. For example:

Code: Select all

Mod(Random(),100) < 10 And @OUTROWNUM <= #jpMaxRowsPerNode#
by ray.wurlod
Tue Apr 12, 2011 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Source Stage Fatal error
Replies: 6
Views: 2924

Try "escaping" the single-quote characters ( \' ).
by ray.wurlod
Tue Apr 12, 2011 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help regarding RANDOM data selecting
Replies: 29
Views: 9149

Use Mod() function with Random() function. For example Mod(Random(),100) will return a number between 0 and 99. For a 10% random sample, use Mod(Random(),100) < 10 in a constraint expression. The constraint expression could also include a restriction on @OUTROWNUM.
by ray.wurlod
Tue Apr 12, 2011 4:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error with Oracle connector stage
Replies: 3
Views: 21164

There are options in the Usage section of the Connector to warn or fail on metadata value/size check failures.
by ray.wurlod
Tue Apr 12, 2011 4:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pad zero on leftside to integer
Replies: 3
Views: 3748

samsuf2002 wrote:You can use FMT().
Do a search to find out how, based on your requirement.
Fmt() is not available in Parallel jobs.

Provided the target is a string, you can use string functions to pad with leading zeroes. For example:

Code: Select all

Right("000" : InLink.TheValue, 3)
by ray.wurlod
Tue Apr 12, 2011 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage Hangs when Trying to Import From Lotus Notes
Replies: 6
Views: 4684

Please be a little more careful with your English.

Who is "Yar"?
by ray.wurlod
Tue Apr 12, 2011 4:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Rounding and convert to Varchar
Replies: 4
Views: 2161

That changes the question.
by ray.wurlod
Tue Apr 12, 2011 4:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different Delimiter In one record
Replies: 6
Views: 2291

Field delimiter should be none.
by ray.wurlod
Tue Apr 12, 2011 4:40 pm
Forum: General
Topic: What makes Connectors bettter?
Replies: 6
Views: 2669

IBM says they're better because someone in IBM says they're better and the sales folks pick up the cry. Connectors make use of the Connector Access Service, which is better attuned to the architecture of Information Server. So, while there's not a whole lot of difference in DataStage alone (yet) apa...
by ray.wurlod
Tue Apr 12, 2011 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Divide data in connected groups
Replies: 4
Views: 2451

What is the rule that determines whether an input row ends up in Group 1 or Group 2?
by ray.wurlod
Tue Apr 12, 2011 4:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in lookup
Replies: 8
Views: 2344

Your SQL is only selecting two columns. XRF_CUSTOMER_T.N_CUST_DWID and XRF_CUSTOMER_T.N_CUST .
by ray.wurlod
Tue Apr 12, 2011 4:24 pm
Forum: IBM QualityStage
Topic: Setting Cutoff Values
Replies: 6
Views: 2615

This is a long an complex discussion. Weights (agreement or disagreement) are assigned to each field based on their "information content", or rarity within their own domain. Both m-prob and u-prob are used in this calculation. Logarithms are used to make valid the technique of adding colum...
by ray.wurlod
Tue Apr 12, 2011 5:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in lookup
Replies: 8
Views: 2344

Show us the SQL.
by ray.wurlod
Tue Apr 12, 2011 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different Delimiter In one record
Replies: 6
Views: 2291

Have the Sequential File stage read the file with each line being a single VarChar field, then parse that in a downstream Transformer stage.

(This is actually more efficient, as the parsing occurs in parallel rather than in sequential mode.)
by ray.wurlod
Tue Apr 12, 2011 5:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not like constraint on transformer
Replies: 1
Views: 996

That's because the Transformer stage constraint expression is not written in SQL. (You can use SQL-like expressions in the Filter stage.) The expression you require to pass rows in which "test.com" does not appear in the to_transf.add field is: Index(to_transf.add, "test.com", 1)...