Problem in job running, design...
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
You'll need to provide some more details about your hanging job problem. Is it the same job hanging each time? What stages are in the hanging jobs?
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
We need a lot more information. What kind of jobs are hanging? Are they having database connections? Can you describe the condition of hanging? Are you finding that the job is running, and never finishes? That the link statistics stop changing? That the underlying unix processes disappear? Are the jobs that "hang" doing any before/after stage/job routine calls?
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
The oracle stored procedure is ringing some alarm bells with me. What if this stored procedure is stuck in an infinite loop? Have you been able to look at the active processes in the database during the hang? Really there is nothing else in the job you have described that could have caused it to hang other than that stored procedure.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
How is the job designed? Is the stored procedure being called in an OCI stage, or are you talking about a Sequencer job that is executing a Command stage that executes a stored procedure? Are you sure that the stored procedure has not begun execution? Still highly confused as we do not have the necessary information to help you.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
vmcburney wrote:The oracle stored procedure is ringing some alarm bells with me. What if this stored procedure is stuck in an infinite loop? Have you been able to look at the active processes in the database during the hang? Really there is nothing else in the job you have described that could have caused it to hang other than that stored procedure.
The oracle stored procedure goes well most of the time and hasn't an infinite loop.
Before job' hang, step is calling procedure or stage of other type.
So, job' hang isn't confined to procedure.
Thanks!
kcbland wrote:How is the job designed? Is the stored procedure being called in an OCI stage, or are you talking about a Sequencer job that is executing a Command stage that executes a stored procedure? Are you sure that the stored procedure has not begun execution? Still highly confused as we do not have the necessary information to help you.
The job is designed to calling a procedure in 'before SQL' of an OCI Stage.
The job didn't progress even call a procedure, just set envrinments variable and NLS.
Thanks!!
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
The before-SQL of an OCI stage doesn't necessarily send a message to the log before it runs. It is likely that your before-SQL is being executed when the job hangs. You really need to run a database trace to find out whether the before-SQL procedure call has started and what it is doing.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
You might consider putting some event logging into your stored procedure to see what it is doing, how far it is getting, etc. I think between Vincent and I we would put money on a bet that your stored procedure is doing something for which you have not accounted. It's probably in la-la land, or busy doing something that never finishes and you are mistaking this for a DataStage issue. Try inserting audit messages into an audit table as your procedure progresses thru whatever steps it's doing.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle