MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ALARM Jobs.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Fri Jun 03, 2005 9:28 am    Post subject: ALARM Jobs. Reply with quote

Hi all,

We want to set up some Alarm jobs in CA7. Can someone throw some light on how to set this. The purpose of this job is to abend when certain important jobs are NOT completed by a certain time.

Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jun 03, 2005 9:58 am    Post subject: Reply with quote

Ysmvs,

Schedule a JOb in CA-7 to run daily at a specified time ,which will read the completion times of your important jobs and abend if your important job hasn't completed within the range.

Check this link which explains about reading the job completion times from ca-7 database in batch mode.

http://www.mvsforums.com/helpboards/viewtopic.php?t=1096&highlight=lprrn

The output from the job will be as follows.

Code:

  JOB    CA-7 DEADLINE   START   DUE-OUT  COMPLETE    CPU    SCH ENTRY JOB   
  NAME   JOB# DDD/HHMM DDD/HHMM DDD/HHMM YYDDD/HHMM SPEC/RUN ID  MODE STATUS
                                                                             
JOBXXXXX 6857 154/2316 154/0050 154/2330 05154/0056 ALL-C13A 001 AUTO C-C0000


So code a small pgm to read the above output and figure out if the job completed on time.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group