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

cics & real time monitoring


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 07, 2016 4:23 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Sep 07, 2016 7:48 am
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
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Wed Sep 07, 2016 9:30 pm
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: 32
Location: Tajikestan

PostPosted: Tue Sep 13, 2016 8:38 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top