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
 

 

cics & real time monitoring

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
icehat

New User


Joined: 09 Jul 2015
Posts: 2
Location: Italia

PostPosted: Wed Sep 07, 2016 2:29 am    Post subject: cics & real time monitoring
Reply with quote

Hi,
where can i start if I want to write a "self-made monitoring tool" to trace CICS transaction at the maximum level of detail?
I know there is SMF but it doesn't give me information about single programs invoked by the main.
I also know that there are specialized tools(Sysview, mainview and other) but i'm interesting to know how they work and try to create my one.

I've tried to make some searches but i stil don't know where to start.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Wed Sep 07, 2016 4:23 am    Post subject: Reply to: cics & real time monitoring
Reply with quote

If you don't know where to start, I don't think you'll get anywhere.

Your specification is also very loose.

Do you feel at home with CICS and (possibly) z/OS Control Blocks? What do you intend to do with such a "tool"? Have you considered that the reason people pay for such things is because they are far from simple? Do you know Assembler?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed Sep 07, 2016 7:48 am    Post subject:
Reply with quote

Quote:
where can i start if I want to write a "self-made monitoring tool" to trace CICS transaction at the maximum level of detail?
What do you mean by "maximum level of detail" -- it is not clear if you're talking at the program level or CSECT level or what?

Furthermore, what you are wanting to do is EXTREMELY complicated and the specifics change from release to release of z/OS (there's a reason why MAINVIEW, OMEGAMON and such tools cost a LOT of money). As Bill said, you'll need to understand z/OS control blocks, CICS control blocks, CICS internal flow, and a lot more just to start writing the code.

And unless you devise a way to turn your code on and off by transaction, you'll need to write very efficient code since it will be getting executed for every transaction in the CICS region (potentially up to several million times a day).
Back to top
View user's profile Send private message
icehat

New User


Joined: 09 Jul 2015
Posts: 2
Location: Italia

PostPosted: Wed Sep 07, 2016 3:05 pm    Post subject:
Reply with quote

Hi and thank you for your answers.
At the moment i don't know ansembler(i know c/c++, java) and my knowledges of Cics/Zos Control Blocks are very limited.

I want to collect information about CICS transaction at SMF LEVEL + some details(elapsed, cpu, count, memory usage) about routine that have been called, EXEC CICS calls and calls to external resources(like CA/Sysview does).

I don't want to write a enterprise level monitoring software. I want to understand how Sysview/Omegamon/Mainveiw works and if it is possibile to create something similar for private use.

PS: I've a "sandbox" where to "play".
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Wed Sep 07, 2016 9:30 pm    Post subject:
Reply with quote

Think of these potential risks(Very few hit my mind)/many more are
1. May contains bugs and may be a lot
2. Who will be doing the testing for this tool and who is going to pay for that efforts and more importantly do you have those special resources?
3. Who will let you do this work apart from you main job at site?
4. Even if you take time to get things done it will eat all of your time spending and learning this and may have an impact on your current work.
5. On top of that why do you want to reinvent the wheel by your own as this is the task of many people and not you alone?
6.If you want to understand how Sysview/Omegamon/Mainveiw works then you better get the manuals/search on internet/forums because with such posts you would only get little or no knowledge as what you asked is a big chapter by itself.
7. How will you ensure you decision based on such tool is accurate and if not then do you know the implications?
8. At last nobody going to share the code for you for such tools or tell you how they developed it and if you are interested in developing tool and all then such roles will be offered in product based company's and not with consulting firms.
Back to top
View user's profile Send private message
lind sh

New User


Joined: 04 Feb 2015
Posts: 25
Location: Tajikestan

PostPosted: Tue Sep 13, 2016 8:38 pm    Post subject: Reply to: cics & real time monitoring
Reply with quote

Dear friend
If you familiar whit COBOL you can view and inspect and / or customize DFH0STSY and related program linked to it.
These programs may help you to reach to your purpose.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am


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