Search found 53125 matches

by ray.wurlod
Tue Sep 16, 2008 5:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating directories
Replies: 7
Views: 2254

You can do it with a simple before-job command, but a script (or routine) would give you better control (for example checking whether the directory already exists). For the simple method just use a set of operating system commands in the Input Values field for ExecSH as the before-job subroutine, fo...
by ray.wurlod
Tue Sep 16, 2008 5:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: can view data through DB2 aPI Stage, but unable to fetch fro
Replies: 3
Views: 1191

Welcome aboard. Start by disabling operator combination so that you can more accurately diagnose what's going on.
by ray.wurlod
Tue Sep 16, 2008 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reatining Duplicates in hash file lookup
Replies: 3
Views: 992

The rule is "last one in wins". There are two 10s in the sample data. The first 10 would be "removed" by being overwritten.
by ray.wurlod
Tue Sep 16, 2008 3:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: split multiple rows
Replies: 6
Views: 1277

Convert the # to @VM and load into a hashed file with a key generated as @OUTROWNUM. Then read from the hashed file dynamically normalized on your multi-valued column. You will need to set up the table definition with the "supports multi-valued columns" check box selected.
by ray.wurlod
Tue Sep 16, 2008 3:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: split multiple rows
Replies: 6
Views: 1277

Configure enough columns for the largest expected N.
by ray.wurlod
Tue Sep 16, 2008 3:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Fatal error- Index too large
Replies: 5
Views: 2889

Not enough information. What logic are you using in your SCD stage? What is it about the third node (#2) that caused the failure to be there?
What data volumes are involved? How big (number of rows, size of rows) is the dimension table?
by ray.wurlod
Tue Sep 16, 2008 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to auto-generate metadata?
Replies: 8
Views: 2980

I think they need the RMM stage.

To quote from that classic film The Castle - "tell 'em they're dreaming".
by ray.wurlod
Tue Sep 16, 2008 3:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reatining Duplicates in hash file lookup
Replies: 3
Views: 992

Hashed files have guaranteed unique keys. That rules them out for what you want to do. The only other solution is to use a UniVerse stage, which uses the same style of SQL as does the ODBC stage. Whether you use UniVerse or ODBC, your lookup speed will be enhanced through use of an index on the sear...
by ray.wurlod
Tue Sep 16, 2008 3:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: split multiple rows
Replies: 6
Views: 1277

Parse into separate columns then run these through a Pivot stage.
by ray.wurlod
Tue Sep 16, 2008 1:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropping null record in the transformer before loading oracl
Replies: 5
Views: 1666

I think it's probably worth re-thinking your logic. NullToEmpty(inS1xfm.CLAIM_KEY) implies a "cast" from BigInt to String and then your Else clause converts it back to BigInt - however your Then clause generates a value ("") that can not be successfully converted back to BigInt. Why not just use If ...
by ray.wurlod
Tue Sep 16, 2008 1:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Funny characters in Sequential file columns of a paralell jo
Replies: 4
Views: 1974

Lots of people, as a Search would have revealed. This "small rectangle" pad character is actually a NUL byte (0x00). It is the default string pad character used in DataStage parallel jobs. In C programming, this character is understood to mean "end of string", which may explain what you're seeing wh...
by ray.wurlod
Tue Sep 16, 2008 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropping null record in the transformer before loading oracl
Replies: 5
Views: 1666

a)There is no difference between the two enviroments.we checked with Datastage admin regarding this. Is there any we can find if there is any difference between two datastage environments. Check with the Datastage admin? Seriously, though, your diagnosis has been systematic thus far. But you're onl...
by ray.wurlod
Tue Sep 16, 2008 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to print a single quote(') in a transformer
Replies: 2
Views: 1615

Assuming that the data type of the outbound column is string, and that you're doing this in a Transformer stage, then a suitable expression is

Code: Select all

"'" : InLink.TheColumn
by ray.wurlod
Tue Sep 16, 2008 12:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reconciliation Error
Replies: 1
Views: 824

You are working on a job that has an after-job subroutine that checks the row counts, and is the source of the logged message. The underlying reason for the difference is in the job design, almost certainly in the constraint expression used in a Transformer stage.
by ray.wurlod
Tue Sep 16, 2008 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropping null record in the transformer before loading oracl
Replies: 5
Views: 1666

What's different (a) between the two environments and (b) between the data in the two environments? Have you checked that it is exactly the same job in each environment?