Search found 42189 matches

by chulett
Fri Aug 18, 2006 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Rationalisation - Performance and Optimisation
Replies: 13
Views: 3682

Re: Data Rationalisation - Performance and Optimisation

My initial thoughts are that the slow speed is caused by the sort stages but these are required to ensure the earliest start dates are loaded first. Is it possible that it is fact caused at the DB level? That should be readily apparent... how much of the 3 hours are spent in the Sort stage? Once re...
by chulett
Fri Aug 18, 2006 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count records of hashed file in a routine
Replies: 12
Views: 3665

Welcome aboard, but you really need to start your own thread on this subject, not jump on the end of this one. We don't know details like Server v. PX, operating system or version of DS that a new post would require. When you do start your thread, clarify what you mean by 'table'... database? Unive...
by chulett
Fri Aug 18, 2006 7:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to abort the job
Replies: 11
Views: 4275

I tried using DSLogFatal in my transformer stage before but it did not work. I know we can use this subroutine in Afterjob subroutine or transform function but not sure we can use it in stage variables. Works just fine. All you need to do is call it and your job is dead, so not sure under what circ...
by chulett
Fri Aug 18, 2006 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rollback in DRS stage
Replies: 5
Views: 1074

Or just set the transaction size to zero. That turns your load into an 'all or nothing' load and the records are only commited once at the end if the job completes without fatal errors. In other words, the job must abort for the rollback to occur. This means running the job with a very low Warning t...
by chulett
Thu Aug 17, 2006 8:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create ,delete update Insert recors into hashed files
Replies: 2
Views: 1133

Ok... first question would have to be... why? That being asked, there are routines in the sdk you can check out for examples - like the Key Management routines. You can also examine any job's log that creates hashed files, the syntax used to create them will be in the log. Keep in mind the fact that...
by chulett
Thu Aug 17, 2006 8:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC lookup using Stored Procedure
Replies: 5
Views: 998

Re: ODBC lookup using Stored Procedure

Actually, the error comes during compilation and specifically says: SP cannot currently be used as Reference Input So this either means it can't currently be used because the metadata is missing... or a more literal reading of the message would lead one to believe it is not 'currently possible' as i...
by chulett
Thu Aug 17, 2006 7:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 2 sequential files into SQL Server using merge
Replies: 6
Views: 2933

The concatenation wouldn't be an extra step per se. You would do it via a Before Job subroutine using ExecSH, so it would run as part of the job. However, the Merge stage can be used for this if set to Complete Set for the 'Type of Join'. On Kris's suggestion re: the Temporary Directory, you'll just...
by chulett
Thu Aug 17, 2006 5:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 2 sequential files into SQL Server using merge
Replies: 6
Views: 2933

Do you really need to 'merge' these two files? Or do you simply need to load them both, one after the other? If it's the latter, why not concatenate the two files together before job and then bulk load them?
by chulett
Thu Aug 17, 2006 4:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple and Variable Number of Data Fields
Replies: 2
Views: 792

Do you know what the maximum number of fields could be? If so, you should be able to setup the Sequential File stage to read the file using the '^' delimiter for all possible fields and telling it to set any 'missing' fields to null. At least you can in Server, assuming something similar is possible...
by chulett
Thu Aug 17, 2006 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparce lookup
Replies: 9
Views: 2748

Thanks DSguru2B, that's a useful suggestion, but I cannot implement it because my target tables reside on a different database from staging tables. I only have access to create tables at staging level, while my lookup table is a target table. That really shouldn't be an issue. Can you not pull a li...
by chulett
Thu Aug 17, 2006 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while trying to retrieve text for error ORA-12154
Replies: 10
Views: 4182

You need to properly configure DataStage for Oracle, something that is documented in both the Plug-in Configuration Guide and the OCI documentation. It involves editing the dsenv file to set $ORACLE_HOME and to include the proper libraries in your equivalent SHLIB_PATH. Once that is done you need to...
by chulett
Thu Aug 17, 2006 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling Null values in Routines
Replies: 4
Views: 969

And do you understand why? Your null check was failing because the value was not a null - but rather an empty string. While they may look the same they are completely different - one is a known quantity (the empty string) while the null is an unknown value. The length check will return zero for both...
by chulett
Thu Aug 17, 2006 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling Null values in Routines
Replies: 4
Views: 969

Post your code. And are you having issues running the routine or trying to test the routine in the Manager? Asking because you can't pass null values when testing in the Manager...
by chulett
Thu Aug 17, 2006 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Header, detail, and trailer records
Replies: 1
Views: 872

Easy? Not really, but it doesn't have to be all that complicated. You should check this post for ideas. Searches will turn up other conversations on the topic as you're not the first to have to tackle this.
by chulett
Thu Aug 17, 2006 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange transformer compilation error
Replies: 6
Views: 1197

Microsoft, .NET, Windows, Bill Gates... take your pick. :lol: