Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Will Job in CA7 cancel automatically?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Will Job in CA7 cancel automatically?
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: 8152
Location: East Dubuque, Illinois, USA

PostPosted: Thu Aug 29, 2013 2:56 pm    Post subject:
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

Site Director


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

PostPosted: Thu Aug 29, 2013 7:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts EDIT END(SAVE) or CANCEL? Steve Coalbran TSO/ISPF 9 Sat Feb 06, 2016 7:11 pm
No new posts Vsam file updated to RLS disabled aut... biswaranjan Parimanik JCL & VSAM 10 Fri May 01, 2015 12:43 pm
No new posts Automatically Zip the txt file in JCL useit All Other Mainframe Topics 6 Thu Nov 20, 2014 2:55 pm
No new posts Deleting the catalog files automatica... Suresh S JCL & VSAM 6 Wed Apr 16, 2014 7:05 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us