View previous topic :: View next topic
|
Author |
Message |
icehat
New User
Joined: 09 Jul 2015 Posts: 2 Location: Italia
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
icehat
New User
Joined: 09 Jul 2015 Posts: 2 Location: Italia
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
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 |
|
|
lind sh
New User
Joined: 04 Feb 2015 Posts: 32 Location: Tajikestan
|
|
|
|
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 |
|
|
|