IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Will Job in CA7 cancel automatically?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thisak

New User


Joined: 09 Jun 2006
Posts: 14

PostPosted: Thu Aug 29, 2013 10:54 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 29, 2013 2:56 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 29, 2013 7:05 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts trigger enter key automatically call ... CICS 17
No new posts CICS START AND CANCEL CICS 1
No new posts EDIT END(SAVE) or CANCEL? TSO/ISPF 9
No new posts Vsam file updated to RLS disabled aut... JCL & VSAM 10
Search our Forums:

Back to Top