Search found 53125 matches

by ray.wurlod
Wed Jun 28, 2006 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to get the file of DataStage generating seqnumber
Replies: 3
Views: 843

It's a hashed file in your DataStage repository. The key value is the sequence name, while field 1 contains the sequence value. By what mechanism do you want to "get" that file?
by ray.wurlod
Wed Jun 28, 2006 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need sql help for select min
Replies: 23
Views: 29028

Since MIN can only be a single value, your WHERE clause can be made more efficient (depending on whether the query optimizer does this anyway). Relace "IN" with "=" as the comparison operation.

Code: Select all

WHERE PERIOD.PERSTR_0 = (SELECT MIN(PERIOD.PERSTR_0) FROM #LNomDos#.PERIOD) 
by ray.wurlod
Wed Jun 28, 2006 1:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Activity - Triggers
Replies: 18
Views: 11292

What's wrong is that Ans must return zero if an OK trigger is expected to fire.
by ray.wurlod
Wed Jun 28, 2006 1:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: read metedata of DS
Replies: 12
Views: 2749

You must combine the two reports. The stage name is the link.
by ray.wurlod
Wed Jun 28, 2006 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call another job from job control and wait if it is running
Replies: 7
Views: 1994

DSAttachJob() is necessary before issuing the run request with DSRunJob(). So retrying that function isn't going to help; it's still attached to the controller while it's running. Try creating a new server job, open its job properties then the Job Control tab. Select a job from the drop down list an...
by ray.wurlod
Wed Jun 28, 2006 1:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: script to delete jobs
Replies: 21
Views: 4053

Yeah, why? I can't think of any reason for wanting to do that. The number of keystrokes required to create the script is probably more than the number of mouse clicks required to delete the jobs using the GUI.
by ray.wurlod
Wed Jun 28, 2006 1:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash Partitioning
Replies: 8
Views: 2667

It would be sufficient to hash (or modulus) on zip. Sorting on the other two columns is beneficial to the correct operation on the Remove Duplicates stage, but all you need to ensure is that each distinct value of zip (the grouping column) appears on exactly one node. Round robin partitioning will n...
by ray.wurlod
Wed Jun 28, 2006 1:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance: Can something be done at Datastage?
Replies: 4
Views: 1279

Nothing can be done in DataStage to affect the relative performance of two separate queries in DB2.
by ray.wurlod
Tue Jun 27, 2006 4:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column Derivation
Replies: 5
Views: 1360

If you sort the file (so that the dynamic array is sorted) and use a sequencer (for example "AL") in the LOCATE statement, then the search will be on average twice as quick.
by ray.wurlod
Tue Jun 27, 2006 4:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating/Inserting a Record where key is NULL
Replies: 5
Views: 1594

Three yellow cards? :twisted:
by ray.wurlod
Tue Jun 27, 2006 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to execute more commands in the Before/After Job routine
Replies: 4
Views: 1706

Learn about operating system pipelining. In summary: command1 ; command2 command2 is executed unconditionally after command1 finishes command1 && command2 command2 is executed only if command1 finishes successfully (with an exit status of 0) command1 !! command2 command2 is executed only if ...
by ray.wurlod
Tue Jun 27, 2006 4:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last row in a Sequential file
Replies: 4
Views: 1269

Why not just use tail -1 filename as a filter in the Sequential File stage that reads the file?
by ray.wurlod
Tue Jun 27, 2006 4:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: read metedata of DS
Replies: 12
Views: 2749

File > Generate Report is intended to provide the design, not the process metadata. Row counts are obtained using Director client, using File > Print to print any "active stage finishing" event. You can also use the DataStage API (DSGetLogEntry() function) to read a log entry. The DataStage API (DSG...
by ray.wurlod
Tue Jun 27, 2006 4:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: USS System ?
Replies: 8
Views: 2193

I contemplated a 15 paragraph answer to that question, but will settle on "I agree.".
by ray.wurlod
Tue Jun 27, 2006 4:16 pm
Forum: Site/Forum
Topic: Quoting entire messages
Replies: 6
Views: 2872

I think this was necessary. Its been happening a lot in the recent past. I agree :D. C'mon I double-dare you to quote my message with your quote It truly isn't necessary. Of course, were you a disk space vendor, you'd probably make over-quoting mandatory. But it's frowned upon in every technical fo...