Search found 42189 matches

by chulett
Tue Nov 23, 2004 1:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Record - End Of File - what do YOU call it??
Replies: 6
Views: 1455

The other typical approach is to count the number of records to be processed and pass that in as a job parameter. Then you can compare that number to @INROWNUM and know when you're there. Works best for flat files or other situations where it is simple to determine the count ahead of time. I've done...
by chulett
Tue Nov 23, 2004 11:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort based on TimeStamp
Replies: 11
Views: 3870

A 32bit hash file can't be larger than 2GB. However, you'll find lots of traffic here on the subject of creating 64bit hash files which don't have that limit. By 'SQL solution' I meant having the source query that builds the hash file compute the max timestamp for you, rather than pumping all rows i...
by chulett
Tue Nov 23, 2004 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I get column information on a link with a routine
Replies: 4
Views: 1732

mhester wrote:You are correct in calling the routine with jobname as this routine does not require a job handle.

Bummer. :cry: Couldn't find any reference to it in the help, and since the other DSGet* functions require it...
by chulett
Tue Nov 23, 2004 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I get column information on a link with a routine
Replies: 4
Views: 1732

I'm not familiar with DSGetLinkMetaData (?) but none of them work by Job Name - they require a Job Handle, which is something entirely different. You can do two things. Either use DSJ.ME for the handle to indicate the current running job or attach to the job first by using DSAttachJob and then use t...
by chulett
Tue Nov 23, 2004 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ERROR:ERROR CALLING SUBROUTINE DSR_RECORD ACTION(2),
Replies: 8
Views: 4478

All jobs? Some jobs? Just one particular job? :?

Without more details... any chance you are running out of disk space where DataStage is installed?
by chulett
Mon Nov 22, 2004 8:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort based on TimeStamp
Replies: 11
Views: 3870

You could also use a variation of the SQL Keith posted so that the source database does all the work of figuring out the max(timestamp). I'd still put the result in a hash and leverage that in your job.

Either way. :wink:
by chulett
Mon Nov 22, 2004 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Log files
Replies: 7
Views: 3019

Re: Accessing Log files

Can anyone help me in storing the log files, generated in compilation, in a separate directory. The confusing part to me is the 'generated in compilation' part of that sentence. It doesn't mean the normal log files from when the job runs to me... but that could just be me. Perhaps the OP is after s...
by chulett
Mon Nov 22, 2004 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort based on TimeStamp
Replies: 11
Views: 3870

One approach is to build a reference hash with your current business keys and whatever other data you need to know about the current record. In your case, that would (at the very least) be the timestamp. Order the inserts into the hash by business key, timestamp ascending to take advantage of the de...
by chulett
Mon Nov 22, 2004 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-00060: deadlock detected
Replies: 11
Views: 7429

Bitmap Indexes are not something you want to be updating, if you can help it. Found this quote at a site I have bookmarked: You must also be concerned about high-volume updates. Bitmap indexes are notoriously slow to change when the table data changes, and this can severely slow down INSERT and UPDA...
by chulett
Mon Nov 22, 2004 10:18 am
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 56405

Forgot about that little conundrum. From the header of the file: :: Required Components: :: dsjob.exe (Windows Version) :: (also requires vmdsapi.dll) :: Advised to place both files under Windows System directory. From what I recall, I took the 'dsjob' executable and the dll from the...
by chulett
Mon Nov 22, 2004 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 3686

Another option to keep in mind... for the future. You can dynamically generate your SQL statement and write it out to a flat file. Then, in your stage, set the Update Action to 'User Defined SQL File'. What you then put in the SQL area is the pathname of the file. Not something I've used alot, but i...
by chulett
Mon Nov 22, 2004 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Variable
Replies: 3
Views: 2413

It's a local variable, something that can come in very handy - at least in Server jobs. Not positive about their role or pros/cons in PX jobs, if any. This post should help. :wink:
by chulett
Sat Nov 20, 2004 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .trc files in project home directory?
Replies: 7
Views: 2609

Exactly. :wink: You'll find Oracle trace files in the 'home' or 'current working directory' of any process being traced. As Ray notes, for DataStage jobs, that is the project they belong to.
by chulett
Fri Nov 19, 2004 9:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .trc files in project home directory?
Replies: 7
Views: 2609

Those look like Oracle trace files. :? I'd have a talk with your DBA.
by chulett
Fri Nov 19, 2004 5:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Whatz the use of '?' symbol in a DRS lookup .......
Replies: 6
Views: 1588

ray.wurlod wrote:For whatever reason, DRS uses the Oracle notation for parameter markers (:1, :2 and so on) despite the fact that no other database does so

I don't know about other folks, but I vastly prefer the Oracle numbered parameter marker style over the other 'question mark' way of handling them. :?