Search found 53125 matches

by ray.wurlod
Wed Apr 12, 2006 4:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error using lookupfilsets
Replies: 4
Views: 1929

You're not necesarily going wrong. DataStage is simply letting you know that there are dupllicates, and what it's doing with them (ignoring them, so that you only get one row returned, from a reference input link for example). You can use a message handler to demote the warning message to informatio...
by ray.wurlod
Wed Apr 12, 2006 6:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while executing OPENSEQ
Replies: 6
Views: 1697

OpenSeq ought not to work at all in a parallel job or routine.
by ray.wurlod
Wed Apr 12, 2006 6:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify stage
Replies: 4
Views: 1044

Indeed, a single Transformer stage is likely to be more efficient than two consecutive Modify stages.
by ray.wurlod
Wed Apr 12, 2006 12:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage warning error
Replies: 7
Views: 1993

There's a lot more information in the error message about exactly where the error was caught, which will narrow your field of investigation.

It may be that the DateGenericToTimestamp routine was invoked indirectly, that is from some other routine that is invoked from the job.
by ray.wurlod
Wed Apr 12, 2006 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to join Header and Trailer records
Replies: 10
Views: 2421

The job finishes processing rows into the two files. Then you can invoke a UNIX command cat to append the contents of the trailer file to the detail file, or both into a third file. You can do this via an Execute Command activity in the job sequence that is controlling the job, since parallel jobs d...
by ray.wurlod
Wed Apr 12, 2006 12:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting surrogate keys back from a db2 sequence
Replies: 12
Views: 3320

When using NEXTVAL in the INSERT statement you don't get the value back. That's the whole point. It's faster.
by ray.wurlod
Tue Apr 11, 2006 8:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with left justification
Replies: 6
Views: 1363

If the column definition on the DB2 table is some kind of integer, the leading zeroes are redundant and therefore not stored.
If the column definition specifies Char, then leading zeroes can be kept.
by ray.wurlod
Tue Apr 11, 2006 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to compile test harness
Replies: 8
Views: 3455

That too.

Compile in development. Test in test. Promote with Version Control.
by ray.wurlod
Tue Apr 11, 2006 5:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to pass UNIX script(Procedure) output to job parameter?
Replies: 12
Views: 6828

ErrCode = DSSetParam(hJob, ParamName, ScrOutput)
by ray.wurlod
Tue Apr 11, 2006 5:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert input string to ASCII
Replies: 9
Views: 2596

The convention here is to post solutions as well as problems, so that others who encounter the problem in future can be helped by Search.
by ray.wurlod
Tue Apr 11, 2006 5:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion
Replies: 6
Views: 1680

Isn't the date suppose to be in a particular format for the ICONV/OCONV to work??? ICONV is extremely flexible. Sometimes just "D" is enough, if the date format matches your locale. Otherwise just D followed by date component indicators (for example "DYMD") suffices. With OCONV you can be as specif...
by ray.wurlod
Tue Apr 11, 2006 5:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warnings using Merge Stage
Replies: 12
Views: 2513

We all have small lapses. :oops:
by ray.wurlod
Tue Apr 11, 2006 5:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: LONGNAMES
Replies: 7
Views: 1632

LONGNAMES should be set to ON during installation and never be changed. It's task (if OFF) is to allow old UNIX systems' file name size limit of 14 characters to be honoured. If you try to create a hashed file whose name is more than 14 characters long, and LONGNAMES OFF is in effect, then what will...
by ray.wurlod
Tue Apr 11, 2006 4:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetStageLinks Error
Replies: 4
Views: 1441

KPReddy wrote: But i found this function in the server jobs documentation.

Where?

KPReddy wrote:If not is there any other way to get output links of a stage.

DSGetStageInfo(hJob, DSJ.LINKLIST)
by ray.wurlod
Tue Apr 11, 2006 4:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to compile test harness
Replies: 8
Views: 3455

Lose the Version Control tags (^1_1) in DEFFUN statements.