Search found 45 matches

by mfavero
Wed Jul 02, 2008 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does anyone have a PX job template for SCD type 2?
Replies: 8
Views: 3786

Does anyone have a PX job template for SCD type 2?

I have templates for Server jobs thanks to Ken Bland. And if I am still to believe what he wrote almost 2 years ago, then I should try to stick with server jobs for all SCD processing. See post 'SCD In Parallel Jobs' from shivakumar on Mon Jul 31, 2006 11:58 pm Anyone want to give another opinion? :...
by mfavero
Fri May 23, 2008 12:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API stage sends out strange warning messages
Replies: 4
Views: 4026

No one has replied to this message. I took another look and it seems I get these messages for any SQL where I join two or more tables. If I select from only one table the messages do not appear. I tried many things and the jobs actually run fine, but no matter what I tried (custom rather than genera...
by mfavero
Sat May 17, 2008 7:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Bulk Load - log messages - warnings not processed
Replies: 3
Views: 3879

To my knowledge, this is a pure vanilla installation of DB2 and DataStage. I am surprised if no one else has seen this behavior before. Anybody out there used DB2 bulk load and experienced similar results?
by mfavero
Fri May 16, 2008 9:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Bulk Load - log messages - warnings not processed
Replies: 3
Views: 3879

DB2 Bulk Load - log messages - warnings not processed

We are using the IBM DB2 UDB Bulk Loader stage and it works OK, but when there are messages in the log which should be warnings or fatal errors they are not handled correctly. Has anyone written code to inspect the logs? Or is there a better way to handle this? Here is my latest example: We are load...
by mfavero
Mon May 12, 2008 8:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Stage Variables in PX vs. Server
Replies: 6
Views: 1665

thanks - the problem was indeed that each of the two rows was being processed by a different partition (8 node cfg)

The job only processes 2 rows, so I simply changed it to run in sequential mode.
by mfavero
Thu May 08, 2008 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Stage Variables in PX vs. Server
Replies: 6
Views: 1665

Using Stage Variables in PX vs. Server

I am having trouble with the values of Stage variables being retained from one row to the next. In Server this always worked, but in PX the variables all seem to be reset to zero or null as each row is processed. example 2 varables: VarSave integer(10) initial value 0 Var1 integer(10) initial value ...
by mfavero
Sat Apr 19, 2008 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it just me, or is PX warning happy?
Replies: 3
Views: 1637

the problem here is that I haven't any idea which stage much less which column is causing this error. We're getting more than 50 and the job aborts. I'm afraid to let it run with maybe a million warnings.
by mfavero
Sat Apr 19, 2008 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it just me, or is PX warning happy?
Replies: 3
Views: 1637

Is it just me, or is PX warning happy?

I get a bunch of these warnings from my Parallel job and I don't have a clue which stage they are coming from: APT_CombinedOperatorController(3),2: APT_Decimal::ErrorBase: From: the source decimal has even precision, but non-zero in the leading nybble, or is too large for the destination decimal..Re...
by mfavero
Fri Apr 18, 2008 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API stage sends out strange warning messages
Replies: 4
Views: 4026

DB2 UDB API stage sends out strange warning messages

I have a job which is using the DB2 UDB API (non-parallel) stage in a Parallel job. The job works just fine but the following warning messages come out (all three, just once per run) and they sure make no sense to me. join_STG_REBATE_CLAIM_REJECT_to_PHARMACY_DATA_FACT,0: Invalid character(s) ([xFC])...
by mfavero
Sat Apr 12, 2008 9:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading to DB2 with PX
Replies: 5
Views: 1902

I find this all very strange when used to server of course, but I did determine that the Merge Stage caused the padding with x'00' on the key fields. I managed to work around the problem by putting a transform stage with a Convert(from_Merge.column_name, char(00), ' '). This turned all the nulls to ...
by mfavero
Fri Apr 11, 2008 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading to DB2 with PX
Replies: 5
Views: 1902

Loading to DB2 with PX

I have written my first Parallel jobs and when I look at the data loaded to the DB2 table, the CHAR fields are padded with 'low values' (x'00') not spaces. I create a dataset in the first job and merge it with a seq file in the second and send the rejects (no match for the seq file) to a data set an...
by mfavero
Fri Dec 21, 2007 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance upgradation needed in datastage 7.X
Replies: 4
Views: 1355

You should avoid using anything but a hash file for lookups. Since you are using Oracle as a lookup, a separate SELECT query is done for each and every lookup. So you should actually consider yourself very lucky getting 13 queries returned every second. That's not 13 rows from a query that's 13 sepa...
by mfavero
Wed Feb 08, 2006 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I write C++ API and call from within BASIC routine?
Replies: 1
Views: 525

Can I write C++ API and call from within BASIC routine?

I would like to access all the ENVIRONMENT VARIABLES and their values within a DataStage BASIC Routine. There is an API function called "DSListEnvVars" which can give me what I need. There is no corresponding DS basic function (closest one is "DSGetProjectInfo"). I am not afraid ...
by mfavero
Fri Feb 11, 2005 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call Stored Procedure from OCI Stage - DS v7.0 (server jobs)
Replies: 11
Views: 7317

Calling an Oracle stored procedure

It took me a while to decifer what the solution was but I finally got it. I thought I'd summarize: We wanted to call a stored procedure to TRUNCATE A TABLE prior to inserting new rows. I wanted to put it in the Before SQL tab of the Oracle OCI - sorry no way. So I read and re-read these posts. I fin...
by mfavero
Wed Aug 18, 2004 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage dead process
Replies: 3
Views: 1867

Also try "ps -ef |grep phantom" to show UNIX processes running with "phantom" in the name