Unable to run job: -2 error in multi instance job

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
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Unable to run job: -2 error in multi instance job

Post by prasson_ibm »

Hi,
I have a multi instence job and it runs for 12 instances but sometimes i get below error and job aborts.

Unable to run job - -2

I can not figure out how this is happening because same instance ran before successfully and when i reset that particular failed instence and rerun the job it fails again with same error.

Could someone focus one the reason and how to resolve it.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This looks like an error when trying to run the same instance in parallel. Do all your instances use different instance names and do you make sure not to run the main job without an instance name?
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi,
Yes my all instences are passed as a different variable and main job is not run without any instance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Any chance you are using 'invalid' Invocation ID values for this one?
-craig

"You can never have too many knives" -- Logan Nine Fingers
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi,
I am not doing any validation in Invocation ID.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not what I asked. Each instance you run is assigned a unique Invocation ID and there are documented values that it cannot contain. I'm guessing your error may be caused by that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi Chullet,

I am passing unique name in Invocation ID like
e.g.:-
DFTPM
DFTAM
DWHOPL
DWHAPL
etc.
It runs file but sometimes it fails with above error message.
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

Do You use a Basic-Transformer in Your job?

If this is the case, please post the complete Error-message.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Yes i am using the basic tansformer stage.My job design is like below:-

Code: Select all

Read SeqFile----> SP -----> Filter ----error code=-1006 ----Basic Trans--->Aborter after 1 rows                   
                                                ------ErrorCode=0 -------Cpy stage(Success)
                                           
                                                ------Error<0 and <>-1006 -------> Basic Transformer---->(Abort After 1 Rows)

Below are the exact fatal error which i got during job run:-

Code: Select all

SEQFILE_READ_PAYLOAD,0: Filter status 256;
filter process failed: 1;
import error at record 0.
SEQFILE_READ_PAYLOAD,0: Import error at record 0.
SEQFILE_READ_PAYLOAD,0: The runLocally() of the operator failed.
 
TSFM_DUPCHK_FAIL,0: Unable to run job - -2.
TSFM_DUPCHK_FAIL,0: The runLocally() of the operator failed.
Even i reset the main job and tried to rerun,it again aborts with same error.When i compile the job it works fine.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Add a reject link to the Sequential File stage to capture any row that does not comply with the defined metadata.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply