Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Find out a active PGM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Find out a active PGM
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Fri Oct 07, 2016 4:36 pm    Post subject: Reply to: Find out a active PGM
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Fri Oct 07, 2016 5:34 pm    Post subject: Reply to: Find out a active PGM
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    Post subject:
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: 1715
Location: UK

PostPosted: Mon Oct 10, 2016 7:28 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Oct 10, 2016 8:16 pm    Post subject: Reply to: Find out a active PGM
Reply with quote

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

starting from
http://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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Oct 11, 2016 7:10 pm    Post subject: Reply to: Find out a active PGM
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM 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 find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
No new posts JCL to fetch schedule status from act... parasmalik20 CA Products 1 Thu Jun 02, 2016 7:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us