Abnormal termination of stage tfmr detected

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Bostonian
Premium Member
Premium Member
Posts: 33
Joined: Fri Nov 20, 2009 3:32 pm

Abnormal termination of stage tfmr detected

Post by Bostonian »

We are facing an issue lately for a particular job which says 'Abnormal termination of stage tfmr detected' and I don't see any vital info from the previous run messages. All it says is that, which stage is using what NLS map.

E.g:
<job_name>.<stage_name>: Using project default NLS map ISO8859-1
<job_name>.<stage_name>: Using project default NLS map ISO8859-1
<job_name>.<stage_name>: Using project default NLS map ISO8859-1


I have searched and have checked that there are many posts on this matter here and I tried few things too like setting of DS_NO_PROCESS_METADATA=1. But there is not resolution for this. any help on this will be appreciated.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It looks like you will have to debug this the hard way. I would remove all columns that do a 1-1 mapping, then recompile and text. Chances are very high the error will still be there. Then start removing single columns, starting with the most complicated derivations first until the error goes away and then examine (or post to this thread) the offending derivation.
Bostonian
Premium Member
Premium Member
Posts: 33
Joined: Fri Nov 20, 2009 3:32 pm

Post by Bostonian »

Do you think it is something related to a derivation? I doubt so. The reason is that this transformer's output is being fed into a Sort stage which eventually goes to another transformer as the primary link while we have an ODBC stage for connecting to Oracle that is used as reference for the 2nd transformer.

I replaced all the stages after the 1st transformer with a sequential file and executed the job. It ran successfully.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

In that case you need to follow the same approach, but at a stage level instead of at a column level. Remove stages until the job runs, then the last stage removed is triggering the problem and you can drill down from there.
Bostonian
Premium Member
Premium Member
Posts: 33
Joined: Fri Nov 20, 2009 3:32 pm

Post by Bostonian »

Do you think it is something related to a derivation? I doubt so. The reason is that this transformer's output is being fed into a Sort stage which eventually goes to another transformer as the primary link while we have an ODBC stage for connecting to Oracle that is used as reference for the 2nd transformer.

I replaced all the stages after the 1st transformer with a sequential file and executed the job. It ran successfully.
Vineet Pal Singh
Participant
Posts: 21
Joined: Mon Mar 16, 2009 3:59 am

Post by Vineet Pal Singh »

I got the same issue for one of my ETL jobs. After analysis I tweaked the array size used in the target OCI stage. Just try reducing the array size. It worked for my job. I hope it helps.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please elucidate how this is the same issue - how a problem whose symptom is NLS map related can be fixed by tweaking array size.

I do not know of any way that this is possible, so I seek your enlightened guidance.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Vineet Pal Singh
Participant
Posts: 21
Joined: Mon Mar 16, 2009 3:59 am

Post by Vineet Pal Singh »

Ray,

This is what happened with me during one of the job executions. I resolved it by tweaking the array size. I don't know whether this will enlighten your thoughts or not :).
healthdwt
Premium Member
Premium Member
Posts: 4
Joined: Mon Sep 11, 2006 11:43 pm

Post by healthdwt »

I can confirm that the array-tweak approach does indeed fix the issue.

/Nick
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

It is possible if the target stage action is set to update then insert and the array size is greater than 1, which it should not be in this scenario to begin with, it will cause an abnormal termination error. Nobody on this topic has provided enough detail to say if that was truly the cause or not.

If it is the cause, then was the target stage actually named "tfmr?" Or was the error reportedly coming from a Transformer stage, and actually generated by the target database stage?
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

When Server jobs blow up, the "active" stage always reports the error... meaning that would typically be the transformer.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply