Search found 53125 matches

by ray.wurlod
Thu Sep 07, 2006 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildops
Replies: 5
Views: 1535

You only have access to the rows in the per-record code. Therefore you ought not to be writing your own loop. The variable called y is behaving properly like a static variable (I misunderstood your original requirement); try making it a regular variable.
by ray.wurlod
Thu Sep 07, 2006 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem while using parameter in the exe command activity
Replies: 4
Views: 1328

Do you put the job parameter reference in the Command field or in the Parameters field? Try the latter.
by ray.wurlod
Thu Sep 07, 2006 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset Read Performance
Replies: 4
Views: 1216

Are you using the same configuration as the one used to create the source Data Set? Set APT_DUMP_SCORE to True and examine the score that is logged, to verify what degree of parallelism is being used.

Rows/sec is not a reliable metric, not least because row sizes vary. Prefer MB/minute.
by ray.wurlod
Thu Sep 07, 2006 7:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildops
Replies: 5
Views: 1535

You're going to have to incorporate some debugging statements in your code to capture the actual values of x and y and record them somewhere so that you can work out what's happening.
by ray.wurlod
Thu Sep 07, 2006 7:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to open project - Status code = 81011
Replies: 7
Views: 6168

Did you search for 81011? It means "host name not valid or server not responding". Verify that the -host option is correct in your dsjob command. The -host option is required unless you are executing dsjob on the DataStage server machine.
by ray.wurlod
Thu Sep 07, 2006 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: creating job statistics from joblog created in datastage
Replies: 11
Views: 6035

Decide upon and rigorously follow a stage and link naming convention.
by ray.wurlod
Thu Sep 07, 2006 6:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UserDefined Query Delete statement
Replies: 11
Views: 2950

Your query is going to need at least one parameter marker so that the ODBC driver can understand the logic of the deletion. For example, the job can deliver the value "HK" as the only column in the ODBC stage. Your SQL (largely unchanged) would then look like DELETE From postal_loc_pickdel_test1 WHE...
by ray.wurlod
Thu Sep 07, 2006 6:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ": ds_uvput() - Write failed for record id '38890'"
Replies: 5
Views: 3458

Not much you can do unless you can diagnose why it happened when it did. For example, are there multi-instance jobs involved one of which might have locked another out? Or is the hashed file write in a shared container in more than one job?
by ray.wurlod
Thu Sep 07, 2006 6:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage
Replies: 5
Views: 1246

Templates are stored on the client machine. Perhaps the path you have given does not exist on your client machine, or perhaps you lack write permission to that folder. The pathname of the folder in which templates will be stored is prompted for when the client software is installed. It's usually a s...
by ray.wurlod
Thu Sep 07, 2006 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference b/w DSLinkRowCount and @rownum
Replies: 2
Views: 2845

There is only one @INROWNUM, and only on the stream input link into a Transformer stage.

DSLinkRowCount (or DSGetLinkInfo) can be used on every link in the job.
by ray.wurlod
Thu Sep 07, 2006 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: create a cursor with datastage ?
Replies: 8
Views: 4385

A DataStage job that selects and inserts will, of itself, employ cursors. You don't have to code them. Just provide the SELECT statement in your "source" or "extract" stage, and the INSERT statement in your "target" stage.
by ray.wurlod
Thu Sep 07, 2006 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting up DataStage Default Directory on Windows Server
Replies: 2
Views: 2176

Welcome aboard. :D

The "." means "current directory". If you're executing a DataStage server job, that means the project directory. There's no way around that. You can't use ".".

Use a job parameter instead, for example #FileDir#/myfile.txt
by ray.wurlod
Thu Sep 07, 2006 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Routine
Replies: 4
Views: 1663

It is a completely different product that happens also to be called DataStage. Indeed, there are four separate products that are called DataStage, with very little overlap between them.
by ray.wurlod
Thu Sep 07, 2006 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildops
Replies: 5
Views: 1535

Welcome aboard. :D

Initialize the variable in the "before" code, and use it in the "per record" section. If you must, create a static variable. If that term is unfamiliar, enrol in a class to learn some C.
by ray.wurlod
Thu Sep 07, 2006 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call jobcontrol.h to buildop
Replies: 2
Views: 1460

JOBCONTROL.H is a header file for server routines, not for parallel routines or BuildOps.

Because JOBCONTROL.H is a header file, you do not call it. You include it.

There are many other header files that are relevant to C++ coding, as Arnd has suggested.