Search found 4992 matches

by kcbland
Wed May 12, 2004 10:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a field in DS_JOBOBJECTS for dependent job's type
Replies: 2
Views: 625

The job dependency tab on the properties is a poorly thought out design by Ascential. In fact, I hear that the Sequencer is being overhauled again because it's sooo bad. Anyway, if you use a Sequence job to organize a job stream, it's supposed to document in each called job the dependency. What if y...
by kcbland
Wed May 12, 2004 10:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help required for implementation.
Replies: 2
Views: 567

Why can't you simply walk each key recursively to the logical beginning of the linked list and just use the head of the list? No matter what, your issue is one of recursion, which is not handled well via a DataStage GUI metaphor job design. Your best bet is probably to do the recursive walk+join via...
by kcbland
Tue May 11, 2004 5:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Link Collector
Replies: 1
Views: 626

Read the online documentation for full details. All links going into a link collector must share the same metadata.
by kcbland
Tue May 11, 2004 5:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get the last record from transformer
Replies: 10
Views: 11027

Use the aggregator stage and choose the LAST method.
by kcbland
Sun May 09, 2004 8:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO Check If a DOS filepath exists using Basic.
Replies: 14
Views: 4790

You need to be careful if you are doing a lot of repetitive calls to a DS function doing OPENSEQ statements looking for the same file. DS has issues and will false-positive hit sometimes. The most solid solution is to use the OS's own tools for file existence (dir on NT and ls or test on UNIX).
by kcbland
Sun May 09, 2004 8:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting data from Oracle to DS : Too Slow
Replies: 15
Views: 4024

Now wait a second. If your job is seq --> xfm --> hash, then you should use a write-delay cache when loading this file. A write-delay cache means that while the data is loading into the hash file, it actually uses a memory mapped file and only once the file reaches the maximum cache size or the job ...
by kcbland
Sun May 09, 2004 7:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting data from Oracle to DS : Too Slow
Replies: 15
Views: 4024

How wide is your average row? Did you begin with a minimum modulus? If so, you know it takes some time to initially create the hash file? Also, if the hash file is really wide? Let's get some numbers here to help us. How many rows, how many characters per row, how many columns. What is the file syst...
by kcbland
Sun May 09, 2004 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting data from Oracle to DS : Too Slow
Replies: 15
Views: 4024

You could do: OCI --> seq --> hash, but, if you wanted to instantiate the OCI -->seq portion to achieve parallel sets of queries spooling results, then having this as an all-in-one job doesn't let you. Let's say you have a column in the query that you could do a MOD(columnname, 5) on. If you have 5 ...
by kcbland
Sun May 09, 2004 1:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO Check If a DOS filepath exists using Basic.
Replies: 14
Views: 4790

Do it in job control before your run your job. Simply use a DOS batch script using the dir command and check for the results of the file. Use the DSExecute API (see your manual) and either call it using a custom BATCH job control, or use it in a DS user function/routine.
by kcbland
Sun May 09, 2004 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting data from Oracle to DS : Too Slow
Replies: 15
Views: 4024

Break your job into two separate jobs. Job #1 spools from the source to a sequential file. Measure your rows/second. Job #2 reads the sequential file and loads into the hash. Measure your rows/second. Job #2 should astound and amaze you. You should see the speed at which DS can take a simple sequent...
by kcbland
Mon May 03, 2004 2:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle date comparison and timestamp
Replies: 4
Views: 3242

The auto-generated SQL produced by the OCI stage for 8i and 9i slaps a TO_CHAR with formatting of YYYY-MM-DD HH24:MI:SS on every column defined as DATE or TIMESTAMP. If you're not using the OCI stage or you're not on 8i+ or you're using USER-DEFINED SQL of some nature, than Oracle will return a date...
by kcbland
Mon May 03, 2004 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing the value from transformer to Befor/After subroutine
Replies: 8
Views: 2761

No. There is no way to communicate transformer stage variables with before/after stage routines. You do have a method using the @USER? and COMMON variables (search the forum).
by kcbland
Mon May 03, 2004 11:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle date comparison and timestamp
Replies: 4
Views: 3242

DataStage has no concept of data types, everything, especially dates, are to be considered as string. That being said, your constraint comparison is lexicographic, and because your format is incompatible with that type of comparison, you do not get the result you desire. In DataStage, to compare dat...
by kcbland
Mon May 03, 2004 11:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: several lines towards a line
Replies: 1
Views: 808

Use stage variables (search the forum) to pivot your many rows into one. You'll have to add an extra row of data into your primary input stream to signal the end of the data to output the last row. Your data must be sorted and grouped. Another method is to write to a hash file, referencing the row b...