Job throws fatal error but does not Abort

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Arpanakhade2009
Participant
Posts: 30
Joined: Tue Sep 08, 2009 4:24 am

Job throws fatal error but does not Abort

Post by Arpanakhade2009 »

Hi All,
There is an ETl job to populate data from oracle (oracle enterprise stage) to Sql server (ODBC stage).

The normal behaviour of an ETL job is to abort teh job in case of any fatal errors with status 'Aborted' and in case of any warnings with status 'Finished (see log)'

The job now prompts with a fatal error:
APT_CombinedOperatorController,0: [Microsoft][SQL Native Client]Invalid character value for cast specification
And the job completes with status 'Finished (see log)'

Can any one please let me know what are the probable reasons for this unusual behaviour about log.
Any specifc patch for this fix.

Thanks
Arpana
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Can you please mention the exact version of DataStage?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
sureshreddy2009
Participant
Posts: 62
Joined: Sat Mar 07, 2009 4:59 am
Location: Chicago
Contact:

Data load

Post by sureshreddy2009 »

Is the data loaded into target database.
Try the following things , if not works any of the following .Think about the patches
1.The warning is mainly related to casting error. Means the datatype mismatch from Oracle to Sql server database.
2.If you used two stages in your job oracle enterprise stage ( for oracle) > ODBC stage (Sql server ),Use transformer stage in between this two stages.Import the metadata in both source oracle enterprise stage and target odbc stage,then match in transformer.Hope it will works.
Thanks :D
Suresh Reddy
ETL Developer
Research Operations

"its important to know in which direction we are moving rather than where we are"
Arpanakhade2009
Participant
Posts: 30
Joined: Tue Sep 08, 2009 4:24 am

Post by Arpanakhade2009 »

The ETL Job is as below
Oracle (Oracle stage) --> Transformer (Where i map data from Nvarchar to Varchar & Number to integer fields) --> SQL server(ODBC stage)

Also data is not completely loaded in database.

DS version : 8.0
Build number : 1.2
Arpana
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

Set APT_DISABLE_COMBINATION to true and try to figure out which stage is causing error
RAJ
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Unfortunately, we've all seen behaviour like that, some combination of things can result in fatals that don't abort. Open a case with your offiical support provider, perhaps you are missing a patch. Especially since you're still on 8.0 rather than 8.1. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Its a known problem in Datastage 8.0.1. Hope below link helps.

http://www-01.ibm.com/support/docview.w ... wg1JR33966
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Arpanakhade2009
Participant
Posts: 30
Joined: Tue Sep 08, 2009 4:24 am

Post by Arpanakhade2009 »

Thanks for the information.
Actually I have found out that there is a field of type date in oracle but holds data in format '07/10/2004 09:56:20'; target SQL server has datatype timestamp
Tried modifying the datatype in oracle stage from Timestamp(23,3) to Timestamp(19) also Varchar(23,3)
But no change :(

PLz guide
Arpana
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

How can you specify scale for varchar :?

[Microsoft][SQL Native Client] this means the problem is in sqlserver client not in oracle, so why are you changing the metadata in Oracle stage?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply