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

Checking status of job and application with jcl or rexx


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Apr 20, 2007 7:33 pm
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

Moderator Emeritus


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

PostPosted: Fri Apr 20, 2007 7:39 pm
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
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

Moderator Emeritus


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

PostPosted: Sat Apr 21, 2007 12:28 am
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: 8797
Location: Welsh Wales

PostPosted: Sat Apr 21, 2007 4:39 pm
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
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

Moderator Emeritus


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

PostPosted: Sat Apr 21, 2007 11:11 pm
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
Reply with quote

any JCL or REXX for me?
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: Wed May 09, 2007 9:18 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top