Search found 4992 matches

by kcbland
Tue Jan 25, 2005 11:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetParam
Replies: 5
Views: 2440

You absolutely cannot do this in a supported manner. You cannot change a job parameter value from within a the job itself during runtime. You must use a controlling job, such as a Batch or Sequencer, to set dynamic values at runtime. There are methods to change a parameter value during a jobs execut...
by kcbland
Tue Jan 25, 2005 11:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: resetting aborted jobs
Replies: 7
Views: 1548

Mass-compile the jobs. Or, use better job control that resets a job after it fails or prior to running.
by kcbland
Tue Jan 25, 2005 9:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert a date value
Replies: 4
Views: 1761

Dates in Oracle have time information, even if it defaults to midnight. DataStage, when loading data into an Oracle DATE column, will automatically cast the data by adding a TO_DATE(...) function to the SQL.
by kcbland
Tue Jan 25, 2005 6:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Copying job parameters
Replies: 8
Views: 1243

Sure, look at Parameter Manager offered by this forums owners, or even use the hack job I wrote at my website. There's lots of utilities available but not from Ascential.
by kcbland
Mon Jan 24, 2005 10:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Updates 100 times slower than Inserts.
Replies: 11
Views: 3979

Split your inserts from your updates. Ram in your inserts. At the same time, ram in your updates into a work table with primary key index. Then, fire off a parallel dml merge query (new 9i feature) with a high-degree of parallelism requested with a minimum parallel percent sufficient to kick butt. S...
by kcbland
Mon Jan 24, 2005 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: is table definition shared?
Replies: 4
Views: 1446

Dynamic table definitions wired into jobs - this feature is not in DataStage.

Dynamic credentials - use a job parameter in your credential fields (userid, password, server, directory, etc) and supply the parameter value at runtime via job control.
by kcbland
Mon Jan 24, 2005 10:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: accesssing a hash file in a Basic routine
Replies: 3
Views: 715

Better yet, use the hash file lookup function under the SDK folder:

Code: Select all

Routines
---->SDK
--------->  UtilityHashLookup
by kcbland
Mon Jan 24, 2005 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with sequential file
Replies: 7
Views: 2832

If you moved the file from DOS to Unix, then you may have a Control-Z character at the end of the file. If you did a binary FTP, then it preserved the DOS formatting. Your choices are easy: 1. It's a small file, fix it using VI. or 2. If not a onetime load but you will have to deal with it repeatedl...
by kcbland
Fri Jan 21, 2005 6:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trailing spaces redux
Replies: 4
Views: 1144

If you wrote a text file and put a space into a field, then what's the complaint? I suspect Dave might have selected a CHAR(1) column and wrote it to a file, expecting a NULL field when there was no source data present. CHAR(n) datatypes always return padded data, so writing it to a text file means ...
by kcbland
Thu Jan 20, 2005 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-26028: index initially in unusable state
Replies: 15
Views: 11438

Apples and toaster ovens. A 1.4 GHz chip vs a 3.0 Ghz chip is unfair, not to mention the underlying disk subsystems are radically different. I can make a 1 cpu Windoze solution fly on a straight sqlldr direct path into a table and beat the pants off a multi-TB unix instance. But, I can't get that mu...
by kcbland
Wed Jan 19, 2005 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert only option in Parallel jobs
Replies: 2
Views: 1181

A direct path load will disable the indexes, the only operation left for you is either conventional load or DML loading. If you use standard INSERT/UPDATE SQL then you won't have issues with indexes, you'll instead have performance issues.
by kcbland
Wed Jan 19, 2005 12:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file write failures
Replies: 17
Views: 6216

If you de-couple the building of the hash file from the reference usage later on in the logic, ie. break into 2 jobs, does the hash file error occur?
by kcbland
Wed Jan 19, 2005 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file write failures
Replies: 17
Views: 6216

Other than the "something weird" happened explanation, I'd also make sure row buffering is turned off. I've found unexplainable errors using this on certain servers. The same job occasionally fails on one server (dev) but works fine on the prod server. Any chance you're having disk space issues? Oth...
by kcbland
Wed Jan 19, 2005 11:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file write failures
Replies: 17
Views: 6216

The value you have as the id is the actual key in the hash-file that you have opted. When you drop the hash-file and recreate it, you are rebuilding the dictionary. Hence I assume that the format in which it was initially create does not adhere to the incoming record. Can you therefore identify thi...
by kcbland
Wed Jan 19, 2005 11:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file write failures
Replies: 17
Views: 6216

Any caching, any multi-instance jobs all writing to same hash, or is this something really straightforward?