View previous topic :: View next topic
|
Author |
Message |
vikash singh
New User
Joined: 12 May 2007 Posts: 15 Location: noida
|
|
|
|
Jobs A, B and C run in following sequence in Ca7:
A -> B -> C (When A is complete, it triggers B. Once B is over it triggers C, also B is a requirement for few other jobs).
B uses an already existing file say FILE1.
We need to put some mechanism that will count the number of records in FILE1. If this count is more than a predefined limit then a notification mail should be sent to the support. The support should find the cause for this increase and if everything looks ok then will continue with processing.
Limitation:
We don’t want to schedule new job(s) in Ca7. Reason: This verification mechanism is needed for lot of jobs.
Solution:
We will modify job B so that it counts the number of records in file FILE1. If this count exceeds the upper limit then it should send a notification mail to support and it abends.
Problem with Solution:
We don’t want B to abend if record count exceeds the limit.
If we design our job such that it doesn’t abend then it will trigger other jobs in Ca7.
We would like job B to go on hold after sending a notification mail.
Please suggest if this is achievable.
Also, please let me know if you have some alternate ideas. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If i understand what you want to do, you want to change the way this process works without making a change. . . This Does not seem like a reasonable request
You might consider a new pre-processor job that looks at the file and responds accordingly. The current process would remain unchanged. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
We would like job B to go on hold after sending a notification mail.
|
And possibly hold a partition and stop other jobs from procesing.
As Dick has suggested, look at a global solution for all of the possibly affected processes. |
|
Back to top |
|
|
vikash singh
New User
Joined: 12 May 2007 Posts: 15 Location: noida
|
|
|
|
Thank you. |
|
Back to top |
|
|
|