Search found 42189 matches

by chulett
Fri Jun 20, 2008 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best ways for updating a table
Replies: 19
Views: 5131

"7 key columns that make unique for each row" only helps if there is an index over those columns, or at least an index where the leading columns include as many of these as possible.

Is that the case? Otherwise, each update results in a full table scan.
by chulett
Fri Jun 20, 2008 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading through the delimter 000
Replies: 6
Views: 1641

Ah... I thought that was '000'. Avoid! Avoid!

(Funny, but I heard your advice in a Dalek voice in my head)
by chulett
Fri Jun 20, 2008 7:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What function can I use to round?
Replies: 3
Views: 1211

Off the top of my head, the FMT function can round to a specified number of digits. You can also just move it to a field defined with a scale of 0, I would think.
by chulett
Fri Jun 20, 2008 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading through the delimter 000
Replies: 6
Views: 1641

128 throws what kind of error? At runtime or compile time?
by chulett
Fri Jun 20, 2008 6:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error: Array 'DSAttachJob' never dimensioned.
Replies: 3
Views: 2785

You need an "include" statement so the compiler knows they are not just arrays in your code:

Code: Select all

$INCLUDE DSINCLUDE JOBCONTROL.H


:idea: A Search for your error "Array 'DSAttachJob' never dimensioned" would have easily turned this information up.
by chulett
Fri Jun 20, 2008 6:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading through the delimter 000
Replies: 6
Views: 1641

Either use a delimiter that won't be found (and you need to determine it) or enable the Suppress row truncation warnings option if you believe that the found delimiter comes after all your data.
by chulett
Thu Jun 19, 2008 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Env variables through dsjob
Replies: 23
Views: 6134

Already tried to explain all that, Vincent, but it didn't seem to help.
by chulett
Thu Jun 19, 2008 8:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to continue the process
Replies: 3
Views: 1515

Add a job parameter to indicate the number of records to skip and a constraint to skip them until @INROWNUM is greater than that value.
by chulett
Thu Jun 19, 2008 6:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Named pipes example
Replies: 4
Views: 1413

I don't really use them but don't see the point of doing so all in a single job. You would typically setup 'reader' and 'writer' job(s) to leverage your pipes, AFAIK.
by chulett
Thu Jun 19, 2008 6:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TimeStamp To Date Conversion
Replies: 4
Views: 1620

Compare the two directly as strings. Use the substring operator [] to hack off the first ten characters of the timestamp when you do:

Code: Select all

If Link.Timestamp[1,10] > Link.Date Then...

Or Field(). :wink:
by chulett
Thu Jun 19, 2008 6:15 pm
Forum: General
Topic: Is Datastage compliant with Oracle RAC?
Replies: 6
Views: 3142

Interesting... sounds like it has growed up quite a bit since last I looked at it. From what I recall, many of the connection options you have (like for failover) are specified in the tnsnames.ora file. Found this online for Oracle CM but it seems to do a nice job of walking you through a RAC setup....
by chulett
Thu Jun 19, 2008 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle table load rejected
Replies: 5
Views: 1493

As I noted, from the command line, meaning directly from the operating system prompt.
by chulett
Thu Jun 19, 2008 11:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp
Replies: 7
Views: 6520

You missed all of the '%' markers:

Code: Select all

StringToTimestamp(DSLink2.XXXX,"%yyyy-%mm-%dd %hh:%nn:%ss") 
by chulett
Thu Jun 19, 2008 11:25 am
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Real-time processing
Replies: 14
Views: 8775

Yup. Have fun John! :P
by chulett
Thu Jun 19, 2008 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: xml input stage AIX
Replies: 8
Views: 2771

Time to involve your official support provider, it seems, if you haven't already.