Search found 95 matches

by evee1
Thu Sep 29, 2011 12:04 am
Forum: General
Topic: Exception Activity not returning user defined exception hand
Replies: 12
Views: 6693

Thanks for the suggestions. I have created a Before/After routine that extracts the ORA error from the latest run of the job. It seems to be extracting the error correctly. But now I'm not sure how to call it to get to the information that I need. If I call this routine as an after-job subroutine (a...
by evee1
Wed Sep 28, 2011 6:21 pm
Forum: General
Topic: Exception Activity not returning user defined exception hand
Replies: 12
Views: 6693

Exception Activity not returning user defined exception hand

I have the following (simplified) sequence design: ServerJob ---> ParallelJob(LogSuccess) ExceptionActivity ---> ParallelJob(LogError) ---> Terminator The Automatically Handle Activities that Fail option is set for this sequence. The server job calls the Stored Procedure using STP Stage. The SP has ...
by evee1
Sun Sep 04, 2011 4:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Bulk Load - manual mode and ctl file generation
Replies: 6
Views: 4027

Here are the details of my test load. Source file: 20110524,291,10999,1.89,1.89,0 Peek_197,0: DAY_DT:2011-05-24 00:00:00 LOC_IDNT:291 ITEM_IDNT:10999 BASE_QTY: 000000000001.8900 ACT_QTY: 000000000001.8900 IND:0 REC_LOAD_DT:2010-07-04 00:00:00 PROCESS_KEY: 0000012345 Control file: OPTIONS(READSIZE=20...
by evee1
Sat Sep 03, 2011 4:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Bulk Load - manual mode and ctl file generation
Replies: 6
Views: 4027

When I realised how it is supposed to work, I managed to generate the file ctl file that matches my source file, with the exception of some control characters being inserted into varchar fields. Not sure why it's doing this, but it is quite consistent and happend also when I changed the order of the...
by evee1
Thu Sep 01, 2011 11:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Bulk Load - manual mode and ctl file generation
Replies: 6
Views: 4027

I think I have misunderstood the functionality of the Manul mode. I thought that I can pass the control and data files and Oracle connector will load them, but it looks like it generates both control and data files base on the field definition and data passed in from the incoming stage. So my questi...
by evee1
Thu Sep 01, 2011 11:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Bulk Load - manual mode and ctl file generation
Replies: 6
Views: 4027

Oracle Bulk Load - manual mode and ctl file generation

For loading dta into the database I'm using Oracle Connector in the Bulk Mode with Manual option. The stage generated the control file, but it creates the fixed width field definition of the file, for example LOC_IDNT POSITION(128:139) VARCHAR(10). Unfortunatley my source file is variable length and...
by evee1
Thu Sep 01, 2011 11:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Preformance in job contaning Column Import stage
Replies: 2
Views: 1708

My "assumption" was based on my lack of knowledge how to interpret the score. I was suspecting that it runs in parallel, but needed some confirmation :wink:. Thanks.

I might test the parsing method as well, but probably not until Monday.
by evee1
Thu Sep 01, 2011 10:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Preformance in job contaning Column Import stage
Replies: 2
Views: 1708

Preformance in job contaning Column Import stage

I'm testing the performance of our system processing very large file (400 millim records) using some very simple jobs. Here are two examples of my test jobs: Job 1 Fileset ---> Copy Job 2 Fileset ---> Column Import ---> Copy The processing time increased from 10 mins for Job 1 to 25 mins for job 2. ...
by evee1
Thu Sep 01, 2011 12:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1/2 mix - how to test for types of update
Replies: 13
Views: 9017

All I had to use this was a combination of Lookup and Transformer. I my previous projects I was using Change Capture and Transformer, but since Datastage offers SCD stage specifically for that purpose (i.e. handling of slowly changing dimensions) I wanted to use that. But it looks I might have to g...
by evee1
Wed Aug 31, 2011 5:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1/2 mix - how to test for types of update
Replies: 13
Views: 9017

Can't do reload as I need to keep the history of changes. That's why it's Type 2.
by evee1
Tue Aug 30, 2011 6:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1/2 mix - how to test for types of update
Replies: 13
Views: 9017

Yes, it does. It works for me fine. However the Effective Date in my dimensions need to behave a bit differently to the standard.
I could handle it post SCD stage, given I can sufficiently identify the records.
by evee1
Tue Aug 30, 2011 5:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1/2 mix - how to test for types of update
Replies: 13
Views: 9017

Yes, This is one and the same dimension. It is possible to have a dimesion that will have Type 1 updates when changes are detected in some columns and Type 2 updates when changes are detected when changes are in some other columns. SCD stage allows for that and DataStage Data Flow and Job Design.pdf...
by evee1
Tue Aug 30, 2011 4:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1/2 mix - how to test for types of update
Replies: 13
Views: 9017

SCD Type 1/2 mix - how to test for types of update

I am implementing a load of a dimension that is a mixture of Type 1 and Type 2. The behaviour I need to implement is slightly different than the standard behaviour provided by the SCD stage. Therefore I would like to do some post processing based on the type of the update that is being made. I can f...
by evee1
Sun Aug 28, 2011 8:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1 - how to implement no change in some values
Replies: 10
Views: 3647

Got it!!!
I have changed the test to the following code:

Code: Select all

If IsValidTimestamp(lnk_TargetDim.REC_LOAD_DT) Then lnk_TargetDim.REC_LOAD_DT Else CurrentDate()
and now it works correctly for both new records and updates :D.
by evee1
Sun Aug 28, 2011 7:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 1 - how to implement no change in some values
Replies: 10
Views: 3647

I have change the derivation to make it as lnk_Target.REC_LOAD_DT. It looks a bit funny on the screen as the incoming link starts on the left panel in the middle of nowhere :?. But it works really nice for updates now. However I cannot make it work properly for new records now. New records should ha...