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
 
Checking status of job and application with jcl or rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
darwin

New User


Joined: 17 Apr 2007
Posts: 7
Location: Hungary

PostPosted: Fri Apr 20, 2007 7:27 pm    Post subject: Checking status of job and application with jcl or rexx
Reply with quote

Hello,

Could you give somebody a JCL or REXX code to check the status of job and/or application in OPC.

Many thanks,
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 20, 2007 7:33 pm    Post subject:
Reply with quote

Why, do you not have any manuals that you can read ?

What is wrong with doing it from the online panels ?
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: Fri Apr 20, 2007 7:39 pm    Post subject:
Reply with quote

Hello,

If you talk with your scheduling people, they should be able to point you to existing processes at your site. With what they give you and the Fine Manual, you should be able to get what you need.
Back to top
View user's profile Send private message
darwin

New User


Joined: 17 Apr 2007
Posts: 7
Location: Hungary

PostPosted: Fri Apr 20, 2007 7:41 pm    Post subject: Re: Checking status of job and application with jcl or rexx
Reply with quote

we want to make a night-batch checker with alarm, if something is late
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: Sat Apr 21, 2007 12:28 am    Post subject:
Reply with quote

Hello,

The function/purpose of the scheduler is to make sure things are not late - they are run when they are scheduled.

If you have some situation that needs attention and requires an external alarm, i'd suggest correcting the scheduling / operating conflict.

You should be able to run against the schedule and get information about jobs that are delayed?

It may be that i'm missing the concept - if so, please clarify icon_neutral.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Apr 21, 2007 4:39 pm    Post subject:
Reply with quote

Does the schedular package not come with an alert facility ?
Back to top
View user's profile Send private message
darwin

New User


Joined: 17 Apr 2007
Posts: 7
Location: Hungary

PostPosted: Sat Apr 21, 2007 8:22 pm    Post subject:
Reply with quote

The delay time is very wide interval, but we have information about the generalt night batch (etc. job AAAAAA ended at 2:15 usually, and we need alert (etc. with TSO SEND ....) if the job is not completed until 2:30). We have engought work, so we need some automatic checker jobs to check some aaplications and jobs at the appointed time.
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: Sat Apr 21, 2007 11:11 pm    Post subject:
Reply with quote

Hello,

Might you schedule one or more "checker" jobs to run at the time you need an alert that will obtain the info from the scheduler as to whether the job AAAAAA has been run?

If AAAAAA has not run, send the alert otherwise just end. This "checker" would have no predecessor or dependent jobs.

I'm not sure what you will do when there is an alert, but if i had a similar requirement, i would focus on what needs to be done to ensure the schedule is met. Constantly responding to missed schedules is not a good plan. Implementing extra processes to send and respond to alerts will just cause confusion and (most likely) errors. Whatever is causing AAAAAA to be late needs to be changed or the schedule needs to be adjusted.
Back to top
View user's profile Send private message
darwin

New User


Joined: 17 Apr 2007
Posts: 7
Location: Hungary

PostPosted: Wed May 09, 2007 9:05 pm    Post subject: Re: Checking status of job and application with jcl or rexx
Reply with quote

any JCL or REXX for me?
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: Wed May 09, 2007 9:18 pm    Post subject:
Reply with quote

Hello,

I'd suggest talking with your scheduling people and working out a solution together.

What kind of jcl/rexx did you have in mind?
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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