Warning: Job control process (pid XXXX) has failed
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
Warning: Job control process (pid XXXX) has failed
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?
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?
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
>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).
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).
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
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.
>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.
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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:
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!
Code: Select all
SequentialFile -----> CopyStage -----> DataSet
| | |
| Reject | | Reject
V Aggregator V
Peek | Peek
|
V
Peek
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 39
- Joined: Thu Nov 23, 2006 11:23 pm