View previous topic :: View next topic
|
Author |
Message |
thisak
New User
Joined: 09 Jun 2006 Posts: 14
|
|
|
|
Let's say, I expect a file between 2:00a.m. and 4:00a.m. from external system. If the file didn't reach after 4:00a.m., then without manual interruption the job should be CANCELLED or FORCE COMPLETED. Is there any way in CA7 Scheduler? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
If you are using a data set trigger, the job will not enter the system until the data set is out there. I do not know if a time constraint can also be placed on the job -- but the vendor will know. And if your site is licensed for CA-7, you can contact the vendor for assistance with this issue. The answer you get from CA will be much more accurate than any answer you get on this forum. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
One way to accomplish this is the use a GDG for this file. There would be an initial generation cataloged that has zero records, but the proper block size.
When the file arrives, it becomes the +1 generation. When the job is run the entire GDG is read (and deleted) and a new initial generation is cataloged.
The first bit of code can detect if there are any records and continue (or not) accordingly. |
|
Back to top |
|
|
|