Search found 53125 matches

by ray.wurlod
Thu Jul 27, 2006 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call a environment variable in a routine
Replies: 4
Views: 2206

Code: Select all

Call DSExecute("DOS", "echo %MYVAR%", Output, StatusCode)
Ans = Trim(Output, @FM, "A")
by ray.wurlod
Thu Jul 27, 2006 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: procedure meta data import DSN issue on AIX
Replies: 4
Views: 1629

Indeed, DataStage will not be able to check that the number of columns in your design matches the number of arguments in the stored procedure, so is likely to generate a warning to this effect.
by ray.wurlod
Thu Jul 27, 2006 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture job details in the table
Replies: 6
Views: 2133

That's my third way, with all the coding work already done by Kim!
by ray.wurlod
Thu Jul 27, 2006 7:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Arithmetic with Modify Stage?
Replies: 3
Views: 1665

Almost nothing with two operands can be accomplished in the Modify stage. About the only exception is handle_null().

Substring is possible; concatenation is not. String length, raw length are possible.

Arithmetic using arithmetic operators is definitely not possible in a Modify stage.
by ray.wurlod
Thu Jul 27, 2006 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Report on jobs currently running in DS server
Replies: 18
Views: 8030

kduke wrote:Good point. In the osh is there anything that identifies the job like link name?


No. :cry:
by ray.wurlod
Thu Jul 27, 2006 5:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture job details in the table
Replies: 6
Views: 2133

The best way, since you ask, would be to have a process metabroker. This captures process metadata automatically. The next best way is to rely on DataStage capturing the information into the job log, and retrieving it from there (no extra work re-opening the job). Each "active stage finishing" messa...
by ray.wurlod
Thu Jul 27, 2006 5:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ds_ipcgetnext - timeout waiting for mutex
Replies: 6
Views: 2456

There's no such thing as a Lookup stage in server jobs. Are you in the correct forum? Even if you mean a Transformer stage, is doesn't mean that that's where the problem actually is. Active stages invoke methods that are exposed by passive stages; it is much more likely that a GetRowByKey() method h...
by ray.wurlod
Thu Jul 27, 2006 4:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture job details in the table
Replies: 6
Views: 2133

Two words: Process Metabroker

Automatic capture of process metadata.
by ray.wurlod
Thu Jul 27, 2006 4:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorporating Parallelism
Replies: 19
Views: 4556

No, because I am not in a position to monitor your hardware and software.
by ray.wurlod
Thu Jul 27, 2006 4:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retreving Multiple Records using Universe Stage
Replies: 13
Views: 4002

I just re-read your original post, in which you discovered that writes to hashed files (not "hash" files) are destructive overwrites when performed via a Hashed File stage. If you use a UniVerse stage, however, you are using SQL, and will need to insert (if the key does not already exist) or update ...
by ray.wurlod
Thu Jul 27, 2006 4:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retreving Multiple Records using Universe Stage
Replies: 13
Views: 4002

You can replace VOC pointers by adding OVERWRITING to the SETFILE command.

Otherwise you can delete from VOC using SQL:

Code: Select all

DELETE FROM VOC WHERE @ID = 'MyHashedFileName';

This is an auto-committed transaction.
by ray.wurlod
Thu Jul 27, 2006 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view data set
Replies: 11
Views: 2272

miwinter wrote:I've found the problem - thanks for that :D

We share here. Even if it makes us look temporarily foolish, it may help someone save some anguishing time in the future. What was the problem, and what was your solution?
by ray.wurlod
Thu Jul 27, 2006 4:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup is failing
Replies: 5
Views: 1664

I doubt that this will work; the [ ] indicate a substring operation, but the data type is date, not string.
by ray.wurlod
Thu Jul 27, 2006 4:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorporating Parallelism
Replies: 19
Views: 4556

Possibly, remember that the DB2 server is also competing for these scarce resources. Or the DB2 client software. Or both.
by ray.wurlod
Thu Jul 27, 2006 12:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to join 2 flat files in server jobs
Replies: 2
Views: 770

Welcome aboard. :D

The Merge stage exists precisely for this purpose.