Warning: Job control process (pid XXXX) has failed

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

manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Warning: Job control process (pid XXXX) has failed

Post by manish1005 »

I am facing a strange problem. When I run a job it executes successfully with correct results except for the fact that one warning [ Warning: Job control process (pid XXXX) has failed ] is logged in between.

As I already said results are correct and no other effect of this warning is visible. This warning comes *most* of the times in all the server jobs and I am unable to trace the source/cause of the warning.

The problem comes when I use sequences. Because this warning doesn't let the first job stage to trigger another job(even though the first stage gave correct as expected results) and execution of the sequence stops after first jobstage only.


Below is the log scrap as seen through Director:

[Green Y] Environment variable settings: ALLUSERSPROFILE=C:\Documents and Settings\All Users BELL=^G......
........

[Red !] Warning: Job control process (pid 4152) has failed

[Green Y] Control: Job CopyOfproduct_class aborted

[Green Y] Info: CopyOfproduct_class: Set NLS locale to US-ENGLISH,US-ENGLISH,US-ENGLISH,US-ENGLISH,US-ENGLISH

[Green Y] Info: CopyOfproduct_class..Transformer_1: DSD.StageRun Active stage starting, tracemode = 0.

[Green Y] Info: CopyOfproduct_class..Transformer_1: Set NLS locale to US-ENGLISH,US-ENGLISH,US-ENGLISH,US-ENGLISH,US-ENGLISH

[Green Y] Info: CopyOfproduct_class..Transformer_1: DSD.StageRun Active stage finishing.
110 rows read from DSLink7
110 rows written to DSLink14
0.047 CPU seconds used, 0.203 seconds elapsed.

[Green Y] Info: Finished Job CopyOfproduct_class.

Please suggest whats wrong?
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

What is the JobSequece desing?
Do you have any before job subroutine? Is it pertaining to only to Jobsequence or to all other?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

>What is the JobSequece desing?
My Job sequence is nothing but two jobstages linked one after the another, so that the second job executes after the first gets done. (This is the simplestic case which I am trying and later on will proceed to more complex one).


>Do you have any before job subroutine? Is it pertaining to only to Jobsequence or to all other?
No I dont have any before or after subroutines.

The problem is not with the sequence but with the jobs as even when I run individual jobs I get that warning(though results are correct and as per expectations).
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Reset the job and see if there are any messages that pop up from the 'previous run' that are helpful.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do the individual jobs that generate the "job control process has failed" message include job control code? Are they reported as being run under control (that is, is DSJobController reported in the detailed Status view or in the "job starting" and "job finishing" log events?

If not, I have to disagree with your diagnosis that the problem is not in the job sequence.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

DSguru2B
>Reset the job and see if there are any messages that pop up from the 'previous run' that are helpful.
Resetting the Job also does not give any additional useful info. Even the same warning comes during the reset.

Ray
>Do the individual jobs that generate the "job control process has failed" message include job control code? Are they reported as being run under control (that is, is DSJobController reported in the d ...

Through Director I am not able to find any Job control code. The user remains "machineName\Administrator" for all the log entries.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

In the example that you have given, CopyOfproduct_class is it a job or the Jobsequence that calls the Job?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

CopyOfproduct_class is a job. The Director logs that I have given in the first post are of only one job(CopyOfproduct_class) running independently and not in sequence. (Though the logs for the job are exactly similar when I run it in sequences).

Any idea anybody?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is intriguing. I've been able to create a job that has exactly this issue (using the DCS Strategies site). The job is not run from a job sequence; it looks like this:

Code: Select all

SequentialFile  ----->  CopyStage  ----->  DataSet
   |                         |                |
   | Reject                  |                | Reject
   V                    Aggregator            V
  Peek                       |               Peek
                             |
                             V
                            Peek
The only warning message had this text:
Job control process (pid 18831) has failed

The immediately following (informational!) message has this text:
Job Engagements_Aggregator. aborted

However, the job ran successfully to completion. The expected number of rows was processed on every link.

Mysteriouser and mysteriouser!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

Hi Ray,
My job is also quite similar, and the errors are same.

Any wild thoughts about how to tackle the issue. I can not make sequences with this pseudo error which gives the right results but with warnings which actually abort the conditional sequence.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Ray's job is PX. How about yours?
If your also on PX, you have a work around. Promote that warning to Info using Message handler. If server, better approach Support.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

Hi kumar,
Mine is a server job.

Contacting and getting response from support takes quite some time, I believe someone must have experienced the same problem earlier.......
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Check if the same appears in other projects?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Further, my test was on a Linux machine, not a Windows machine, so that's another variation on your scenario. Version of DataStage was 7.5.1A. Haven't had another chance to look at it. Have a horrible feeling it's a spurious message, but how to prove that?

The topic ID for message handler is DSTAGE_RUN_E_0441. Ask your support provider what might generate this particular message.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
manish1005
Participant
Posts: 39
Joined: Thu Nov 23, 2006 11:23 pm

Post by manish1005 »

Kumar,
yeah, it appears same in other projects as well :cry:


Ray,
Mine is win2000 server machine, and the version of DS is same 7.5.1A. (coundn't read rest of your message as I am not a premium member yet).
Post Reply