Search found 42189 matches

by chulett
Fri Jun 08, 2007 5:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Timestamp - Metadata Import
Replies: 2
Views: 788

I guess you'll need to weigh your options. Either use the more accurate orchdbutil one table at a time, or import them all at once and correct any problems one table at a time. Lesser of two evils, it seems.
by chulett
Thu Jun 07, 2007 11:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIOpenRef call to SQLNumResultCols failed.SQL statement
Replies: 10
Views: 4115

What database supports 'IF' constructs like that? I've only seen syntax of that nature inside a CASE statement...
by chulett
Thu Jun 07, 2007 11:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: to read a paragraph data(clob datatype)
Replies: 4
Views: 1661

A "disordered way"? You may want to explain what that means. Sounds like you haven't even gotten to the CLOB part yet. Are you having a problem simply trying to read the file because there are newlines in one field? Move the Columns tab in the Sequential File stage over to the right and change the '...
by chulett
Thu Jun 07, 2007 9:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL for datastage
Replies: 7
Views: 1502

Perhaps we should clarify the question. Devsonali, what exactly are you seeking? What 'online documentation' are you looking for in regards to SQL in ODBC stage - what kind of SQL you can use there? Or as Kim is asking, some way to create 'online documentation' from existing SQL your jobs are using?...
by chulett
Thu Jun 07, 2007 4:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abort a Job if No rows are selected from source
Replies: 9
Views: 7221

Check this post for a list of error codes. Specifically you'll note that -1 means "Invalid job handle". I would assume that your attach call failed.
by chulett
Thu Jun 07, 2007 1:30 pm
Forum: General
Topic: Function to get the current date only.
Replies: 5
Views: 1194

Yes. Are you looking for PX specific functions that return external formats?
by chulett
Thu Jun 07, 2007 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abort a Job if No rows are selected from source
Replies: 9
Views: 7221

Build a generic routine to leverage DSGetLinkInfo. Use it in a Routine Activity stage to return a row count from the previous job. Branch based on the value returned. You conditionally send emails the same way - by branching your workflow in the Sequence. That's what the various Triggers control - h...
by chulett
Thu Jun 07, 2007 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml output file was not created?
Replies: 9
Views: 3262

It was "SU"? Stuffed Up? :?

If your XPath expressions are not appropriate, it is conceivable that records came into the stage but nothing was generated. Are you certain no output file was created?
by chulett
Thu Jun 07, 2007 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abort a Job if No rows are selected from source
Replies: 9
Views: 7221

There is no such thing as an @INROWNUM of 0. You don't "need" to abort, from what I can tell you just need to conditionally execute a series of following jobs when the records selected is not zero. So, have the Sequence (no 'r') job check the job after it runs to see if it processed any rows. Only c...
by chulett
Thu Jun 07, 2007 1:07 pm
Forum: General
Topic: Function to get the current date only.
Replies: 5
Views: 1194

Sure, both Date() and Time() are available.
by chulett
Thu Jun 07, 2007 10:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TMPSPACE16K Fatal Error
Replies: 1
Views: 663

Well... you ran out of space. Take the issue to your DBA.
by chulett
Thu Jun 07, 2007 10:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load !
Replies: 4
Views: 926

Ok. So your Update Action is 'Truncate table then insert rows'. An OCI load of that nature would be the easiest to implement but the slowest way to perform that function. It's fine for 'small' volumes but for larger ones... not so much. For pure inserts into an empty table, switch to bulk loading - ...
by chulett
Thu Jun 07, 2007 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load !
Replies: 4
Views: 926

What stage are you using? What 'update action'?
by chulett
Thu Jun 07, 2007 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem adding jobs to schedule
Replies: 15
Views: 14366

and executes the first it finds according to the Windows system PATH. Of course it does, that's How It Works regardless of application. This is a known issue with a known solution which has been posted both here and at the IBM site from what I recall. It's not a 'DataStage bug' but a PATH problem, ...