Search found 53125 matches

by ray.wurlod
Wed Jun 20, 2012 7:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Target Stage
Replies: 13
Views: 5044

Can you post the detail of one of these invalid handle messages, in particular the stage that is throwing it? You may need to disable operator combination to get a sensible report.
by ray.wurlod
Wed Jun 20, 2012 5:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Target Stage
Replies: 13
Views: 5044

Do you really need the sh -c part? Given that the External Target stage consumes rows via stdin, so your command probably does need to process stdin (maybe via the - token). The "cannot preserve partitioning" is easily solved in the upstream stage; you can find that solution on DSXchange.
by ray.wurlod
Wed Jun 20, 2012 5:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparison
Replies: 9
Views: 3113

A horribly inefficient method would be to perform a "not equals" self-join in the source and return the first row from that. You could not use a Join or Lookup stage for that; it would have to be done in source.
by ray.wurlod
Wed Jun 20, 2012 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Median Calculation
Replies: 5
Views: 2039

There is a technique for changing stage variables only when you need to; namely to assign the stage variable to itself when no change is required. If condition_met Then calcualted_value Else svMyVariable --> svMyVariable It is necessary, because the condition might not be met in row #1, that the sta...
by ray.wurlod
Wed Jun 20, 2012 4:48 pm
Forum: General
Topic: Missing Job Names in DSODB...
Replies: 6
Views: 2354

All keys in XMETA, XMETASR and DSODB are defined as VARGRAPHIC. (At least when DB2 is used.)
by ray.wurlod
Wed Jun 20, 2012 4:46 pm
Forum: General
Topic: Junk characters in the mail
Replies: 8
Views: 2571

Was the file created on a Windows system, or copied/pasted from a Windows system? In that case the extraneous character is probably a carriage return - you can use Convert() function to eliminate it or, if you're reading from a text file, specify DOS-style as the Record Delimiter String property.
by ray.wurlod
Wed Jun 20, 2012 4:42 pm
Forum: General
Topic: Status column in DataStage Director
Replies: 2
Views: 1128

There is a separate RT_STATUSnnn table for each job. The information is not summarised anywhere. The nnn is the unique job number allocated by DataStage when the job is created and which is recorded as JOBNO in the DS_JOBS table (whose key is NAME, the job name). The status of each active or hybrid ...
by ray.wurlod
Tue Jun 19, 2012 8:33 pm
Forum: General
Topic: Can DataStage search for a Pattern of Files in Sub-Direcotor
Replies: 10
Views: 4304

Another link in the job design, perhaps from a Copy stage, to write into the new location.
by ray.wurlod
Tue Jun 19, 2012 4:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: add logic to assign a counter to autonumber RS_ROUTESTOPID f
Replies: 1
Views: 1561

A stage variable that is reset each time the grouping value changes. Change detection can be done through stage variables or, if you are on a recent enough version, through functions.
by ray.wurlod
Tue Jun 19, 2012 4:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of reference links limit
Replies: 15
Views: 8182

Re: Number of reference links limit

brupun wrote:I may have to reference around 70 lookup tables in one lookup stage.
No you won't.
There's no reason not to use multiple Lookup stages. You can make the downstream lookups conditional on the success of the upstream ones if that is your wont.
by ray.wurlod
Tue Jun 19, 2012 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time data type internal representation
Replies: 3
Views: 1153

Seconds since midnight requires storage of 0..86400 (17 bits minimum)and microseconds requires storage of 0..99999 (18 bits minimum). I guess you can construct that into five bytes easily - why two formats I'm not sure.
by ray.wurlod
Tue Jun 19, 2012 4:34 pm
Forum: General
Topic: Need to know whether DS can call SAP ECC function module
Replies: 3
Views: 1463

Could anyone throw inputs? It's a given among the premium posters at least that, if anyone has anything constructive to provide, they will. Silence means that we have nothing to contribute or that we have not yet gotten around to reading the thread. The latter is unlikely if 24 hours have gone by (...
by ray.wurlod
Tue Jun 19, 2012 4:32 pm
Forum: General
Topic: Server job not running through job sequence
Replies: 2
Views: 1366

You've marked this as Resolved before I got to read it. Presumably you are no longer in need of help. But please do post how the problem was resolved, in case any future searcher encounters the same issue.
by ray.wurlod
Tue Jun 19, 2012 4:31 pm
Forum: General
Topic: Can DataStage search for a Pattern of Files in Sub-Direcotor
Replies: 10
Views: 4304

You could, of course, have DataStage write to the new location and simply delete the original on successful completion.