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

Find out a active PGM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Fri Oct 07, 2016 4:32 pm
Reply with quote

Hi @all

I work with a z/VM and VSE. Now I want check e.g. that CICS is running in Region C1. How I can due that? I need a JCL solution for that if it possible.

Cheers
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2016 4:36 pm
Reply with quote

Two VSE people at once. Is VSE making a comeback?

How do you want to use the information, and do you not have access to a POWER display?
Back to top
View user's profile Send private message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Fri Oct 07, 2016 4:48 pm
Reply with quote

I have access to Power.

I will with this job check that all "STC's (z/OS)" will running. This Job should run maybe every 15 Min. Is a Task not running I will write a message to display or send a mail to a system operator.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2016 5:34 pm
Reply with quote

Now that seems to be a completely different question.

You have z/VSE and z/OS running under z.VM and you want to monitor STCs on z/OS from z/VSE?
Back to top
View user's profile Send private message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Mon Oct 10, 2016 3:31 pm
Reply with quote

No I have only a z/VM and a lot of z/VSE's. In z/OS we call programs they run 7/24 STC's. Now I will check a VSE region like C1 and I will check that in C1 CICS is running. This JCL should be use to check every region that we use for programs that run 7x24 hours.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Mon Oct 10, 2016 7:28 pm
Reply with quote

Certainly JCL cannot do that - it only tells the OS what programs you want to run and iwhat resources those programs need.
Back to top
View user's profile Send private message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Mon Oct 10, 2016 8:10 pm
Reply with quote

Yes I known that, but with a tool you can check the region is active or not. I want execute that only in batch. A rexx is also fine and I can execute that in batch.

After x years I'm back on VM/VSE and I need a little help. The last 25 years I was working on a z/OS System. I'm known also JCL and utilities on a z/OS but not on z/VM.

Thanx
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Oct 10, 2016 8:16 pm
Reply with quote

the best advice that you might get here is to look at the IBM REDBOOK collection

starting from
www.redbooks.ibm.com/abstracts/sg247436.html?Open

and then search for hints on z/VSE automation
Back to top
View user's profile Send private message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Tue Oct 11, 2016 4:46 pm
Reply with quote

OK, I found a solution for this Problem. I can implement that in a scheduler and send a message to console. After them I check with rexxcon this message and execute a new rexx that check which task are running.

Thanx @ all
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Oct 11, 2016 7:10 pm
Reply with quote

I can implement that in a scheduler and send a message to console.

why the double jump ?, isn' t the scheduler capable of sending an email.

even if for such cases - where immediate actions are to be taken -
an email is not the right communication channel

why not check if the email can be sent as an sms to a list of portable phones
Back to top
View user's profile Send private message
jpsager

New User


Joined: 18 Jul 2016
Posts: 8
Location: Switzerland

PostPosted: Wed Oct 12, 2016 12:02 pm
Reply with quote

@enrio-scrichetti

The JCL is the trigger which will start every 15 Min. This trigger display a msg, this msg will be checked in REXXCONS. In the REXXCONS I will check the POWER Region an which regions are active. If I found a region that is not up and running then starts the alerting. The alerting can be a email, a sms, a message on console or ... .
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top