Search found 15603 matches

by ArndW
Fri Oct 22, 2010 4:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivoting( Rows to Columns)
Replies: 2
Views: 1370

Searching DSXchange for the exact keywords "vertical pivot" returned 220 matches! Could you check some of those and if you don't find your answer then you can post your questions to this thread.
by ArndW
Fri Oct 22, 2010 4:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing Routines
Replies: 5
Views: 2366

Can you delete the routine, if it exists, from the repository before the import then check to see if it has been created after the import? Perhaps the warning references something else.
by ArndW
Fri Oct 22, 2010 2:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: JOIN & Partition type best for joiner stage
Replies: 6
Views: 2049

The is no general best type. The goal is to distribute the rows evenly across the nodes while ensuring that your joins will work. So first priority is to partition on your join keys - this means that such algorithms as round-robin or random don't apply. You will most likely want to hash partition on...
by ArndW
Fri Oct 22, 2010 2:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Utility Abort To log Routine Description
Replies: 3
Views: 3803

The source code for the routine is at " sdk\Utility" and can be examined in order to understand what it does.
by ArndW
Fri Oct 22, 2010 2:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp using "Build" - how does one write a log m
Replies: 9
Views: 4384

Sainath.Srinivasan wrote:ArndW,

Are you saying that the solution works or not ?

You can try

Code: Select all

std::cerr << "this is a warning message\n";
Yes, I have the std:cout working, but all of the messages I send there end up in a single log entry and I am looking for a method of writing discrete log entries.
by ArndW
Fri Oct 22, 2010 2:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp using "Build" - how does one write a log m
Replies: 9
Views: 4384

Actually, it does work, just as using a PRINT in a before-job of a PX or in a job sequence will put the value in the log. The standard out for informational messages will only issue one log entry per job run, though. I would like my routine to issue one or more distinct warning messages to the log a...
by ArndW
Fri Oct 22, 2010 2:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: in-built function to upload the value from job to sequence?
Replies: 5
Views: 1415

How are you determining the value of "INVALID" in your job? Is it in a transform stage, or a result of a SQL query or some other method? Once that is known, we can help in setting the user status return value.
by ArndW
Fri Oct 22, 2010 1:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading sybase table taking long time 20 hrs
Replies: 2
Views: 1352

Change your dataset to a PEEK stage and measure the speed. If it remains slow then you have eliminated the writing portion from the equation.

Approximately how many bytes per row do you have? Is the Sysbase server on the same machien as the DataStage server?
by ArndW
Thu Oct 21, 2010 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: in-built function to upload the value from job to sequence?
Replies: 5
Views: 1415

The user status can be used to pass information back to a calling sequence.
by ArndW
Thu Oct 21, 2010 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot Import Jobs to Brand New Project
Replies: 8
Views: 4218

How many files are in the new project?
by ArndW
Thu Oct 21, 2010 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp using "Build" - how does one write a log m
Replies: 9
Views: 4384

Sainath - could you please explain how this will write the equivalent of DSLogInfo() and DSLogWarn()? I did get output using

Code: Select all

std::cout << "this is a message\n";
but haven't found a way to write a warning message to the log
by ArndW
Thu Oct 21, 2010 5:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp using "Build" - how does one write a log m
Replies: 9
Views: 4384

BuildOp using "Build" - how does one write a log m

I've been trying, without success, to write a message (either informational or warning) to the log file of a job calling the buildop. I can't find an example of a c++ call, either. Has anyone actually written a buildop and done this? Which call did you use? All I can find are deprecated definitions ...
by ArndW
Thu Oct 21, 2010 4:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call a sql script in ds job
Replies: 4
Views: 1547

that is a bit confusing, since in the job control tab you can call up external programs... which seems to be what you want to do.
by ArndW
Thu Oct 21, 2010 3:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot Import Jobs to Brand New Project
Replies: 8
Views: 4218

login as that user to a shell on the server and "cd" to the project directory and see if a "touch abc" works. I suspect that the user doesn't have create or write access and this is causing your error.
by ArndW
Thu Oct 21, 2010 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel routine c++ regex compilation error
Replies: 1
Views: 2557

The compile messages are confusing as they refer to a key lookup. Perhaps there is already a token of that name and renaming your "matchRegexp" to "NewmatchRegexp" might change matters?