Search found 4992 matches

by kcbland
Thu Oct 20, 2005 6:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: MS_SQL Stored Procedure Best Practice Question
Replies: 8
Views: 2619

isql/osql command line script. By writing a reusable wrapper script now for executing SQL scripts or procedures, you'll enable a long term elegant solution for running scripts quite easily from a Command stage in a Sequencer, or the Command stage in Windoze Server jobs. You'll also be able to use a ...
by kcbland
Wed Oct 19, 2005 9:15 pm
Forum: Site/Forum
Topic: Versions
Replies: 2
Views: 2934

Better get on it quick, we're due for another 10 posts now that a new version is out. :lol:
by kcbland
Wed Oct 19, 2005 9:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling ^M
Replies: 17
Views: 3774

dos2unix supports streaming input and output I believe so it's really an easy choice. It would take care of those trailing ^M's on the file. As to high/low chars, well, that's a different story.

Still don't like that DOS radio button solution, eh?
by kcbland
Wed Oct 19, 2005 9:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle stage - can we treat one specific error as fatal
Replies: 5
Views: 1174

I haven't ever tried it, but you could consider putting the return SQL DBMS variables that come back into another output link and constrain that link to a list of error values. If you want any of those values to abort the job, just set the Abort After N Rows value on that new link to 1 to abort on t...
by kcbland
Wed Oct 19, 2005 9:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Diff between server Job Parallel Job
Replies: 30
Views: 9759

I am waiting for a tool from Ascential , whcih can migrate the Server job inot Parallel jobs There's no equivalent of a HASH file, all user-written DS BASIC functions would have to be magically ported, you'd end up with non-parallel jobs just to satisfy jobs that HAVE TO sequentially process data r...
by kcbland
Wed Oct 19, 2005 8:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date is going as null to an informix table
Replies: 6
Views: 1369

Not really, the Informix CLI stage is unlike ODBC and Oracle OCI stages in that DATE data type fields MUST be presented to the CLI stage in the DataStage BASIC internal date format. Viewing the data has rather odd results in newer released of DS, in that you see the internal number followed by an IS...
by kcbland
Wed Oct 19, 2005 8:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: understanding SQL*Loader ctl file in OE stage...
Replies: 10
Views: 2365

If your whole issue is that you want to sequential assign a column the new available unique number, why don't you manage the process yourself inside the tool? There are many useful techniques for doing this. All rely on "seeding" the jobstream with the starting value from which to assign. Then, use ...
by kcbland
Wed Oct 19, 2005 8:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Diff between server Job Parallel Job
Replies: 30
Views: 9759

A little birdie (actually an Ascential Consultant) once whispered in one of my previous client's ear that Server jobs are due to be extinct in some future version of DataStage and he'd be better off doing his entire dev in PX for future maintainability. Har har har. Yeah, that's a good one. Do you ...
by kcbland
Wed Oct 19, 2005 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date is going as null to an informix table
Replies: 6
Views: 1369

If you are using the Informix CLI stage, you must use the internal DS date format. Please search the forum as various solutions have been covered. This isn't an "issue", it's a feature. :cry:
by kcbland
Wed Oct 19, 2005 12:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling ^M
Replies: 17
Views: 3774

Change the radio button on the Seq stage to "DOS" instead of Unix.

Or run dostounix on every export file when finished.
by kcbland
Wed Oct 19, 2005 8:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can a DB2 table join with a Datastage hashed file to a query
Replies: 2
Views: 1071

Absolutely not.

If you have need to use job parameters, then fetch them from hash file and put into into parameters using custom job control or Sequencer logic.
by kcbland
Wed Oct 19, 2005 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage installation
Replies: 10
Views: 2658

My original answer is still sufficient because the question was wide open and I answered in like fashion.


I left out the conditions because the poster didn't ask about operating systems, versions, licensing, or any other restrictions.
by kcbland
Tue Oct 18, 2005 8:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date function, adding zero
Replies: 3
Views: 1223

Code: Select all

Oconv(Iconv(DSLink3.Date,"DYMD"), "D/MDY[2,2,4]")
by kcbland
Tue Oct 18, 2005 8:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete statement in oracle enterprise stage
Replies: 7
Views: 3593

If I was to experiment, I would create a table that matches your dataset and run that dataset into the table. Enable parallel on that work table, alter your session enable parallel dml. Then, check the explain plan on deleting from your big table where the matching key is in your work table. Somethi...
by kcbland
Tue Oct 18, 2005 8:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete statement in oracle enterprise stage
Replies: 7
Views: 3593

Sure. 1. Look at the load on the server/nodes. Do you have full resources? 2. Look at the queries running against the table. Anybody doing stuff? 3. Look at the indexes. Are there a lot? 4. Look at the indexes. Are they partitioned and are they global or local? 5. Look at your table. Is it partition...