Figure out the call chain of programs on zOS.
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Figure out the call chain of programs on zOS.
Hi,
Does anyone here know how do a search through the call chain to find out the root program's ID? I need this for Natural Adabas programs.
I think it'd help if I try o trace it suing debugging/monitoring or profiling tools - like TMON but at this shop they don't seem to turn on TMON for batch jobs/programs...
I read about READY TRACE but manual uses that the phrase "has no effect on your program". This "actually" would mean that the statement is tolerated, but treated as a comment. And that's for COBOL and not for Natural.
What SMF would capture this behavior?
Thanks for stopping by,
Does anyone here know how do a search through the call chain to find out the root program's ID? I need this for Natural Adabas programs.
I think it'd help if I try o trace it suing debugging/monitoring or profiling tools - like TMON but at this shop they don't seem to turn on TMON for batch jobs/programs...
I read about READY TRACE but manual uses that the phrase "has no effect on your program". This "actually" would mean that the statement is tolerated, but treated as a comment. And that's for COBOL and not for Natural.
What SMF would capture this behavior?
Thanks for stopping by,
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Figure out the call chain of programs on zOS.
That's one question in the title and a different one in the body.
Is Natural "LE Compliant"?
Does Natural use the standard /360 calling conventions? If not, what does it do?
Can you call other languages from Natural?
What is it exactly that you want to see? The call chain would normallyl be considered to be, "the program that called this one, the program that called that, the program that called that".
Is your conglomeratin of Natural programs statically linked, or are all the calls dynamic?
Is Natural "LE Compliant"?
Does Natural use the standard /360 calling conventions? If not, what does it do?
Can you call other languages from Natural?
What is it exactly that you want to see? The call chain would normallyl be considered to be, "the program that called this one, the program that called that, the program that called that".
Is your conglomeratin of Natural programs statically linked, or are all the calls dynamic?
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Figure out the call chain of programs on zOS.
I'm not sure I would want to attempt to use SMF to work out the program calling sequence -- while it probably can be done, I doubt it would be easy.
IPCS would be the tool I would expect to use. Capture a system dump when the program fails and process it through IPCS. I forget the precise command (that's what manuals are for) but one of the IPCS verbs gives you the call program sequence. You may need to use special IPCS verbs for Natural / ADABAS.
IPCS would be the tool I would expect to use. Capture a system dump when the program fails and process it through IPCS. I forget the precise command (that's what manuals are for) but one of the IPCS verbs gives you the call program sequence. You may need to use special IPCS verbs for Natural / ADABAS.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Figure out the call chain of programs on zOS.
unless I am completely wrong SMF will just report the LOAD caused by the first CALL,I'm not sure I would want to attempt to use SMF to work out the program calling sequence -- while it probably can be done, I doubt it would be easy.
and later on in the program the CALL SEQUENCE/CHAIN might be completely different
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Figure out the call chain of programs on zOS.
Thanks William.
Please ignore the strike through text - "Does anyone here know how do a search through the call chain to find out the root program's ID?" and read it as "Does anyone here know how do a search through the call chain to find out the all the programs involed in chain?"
Is Natural "LE Compliant"?
I realized that I made a different question, sorry about that...William Collins wrote:That's one question in the title and a different one in the body.
Please ignore the strike through text - "Does anyone here know how do a search through the call chain to find out the root program's ID?" and read it as "Does anyone here know how do a search through the call chain to find out the all the programs involed in chain?"
Is Natural "LE Compliant"?
I think yes, but I'm not very sure on this. They have written a Natural code which in turn CALLs the other program by passing the program name as parameter. I've little experience with Natural but I think what they are doing in their system is as per standard from Software AG.Does Natural use the standard /360 calling conventions? If not, what does it do?
Yes.Can you call other languages from Natural?
Yes, this is what I want to see. Though the final goal is to have get some "IT performance" clues out of it. So in other words, we'd need to know which program might have caused the "CPU hog". They don't have a profiling tool, so it;s tough to predict that - one way is pick, high CPU consuming program, get all the sub-programs involved and work with them manually; at least to start with.What is it exactly that you want to see? The call chain would normallyl be considered to be, "the program that called this one, the program that called that, the program that called that".
I need to check on this.Is your conglomeratin of Natural programs statically linked, or are all the calls dynamic?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Figure out the call chain of programs on zOS.
Thanks Robert.Robert Sample wrote:IPCS would be the tool I would expect to use. Capture a system dump when the program fails and process it through IPCS. I forget the precise command (that's what manuals are for) but one of the IPCS verbs gives you the call program sequence. You may need to use special IPCS verbs for Natural / ADABAS.
I'll explore the possibility to use IPCS, however, I'm not that good in playing with "dumps"...let me see if they've IPCS available.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
Re: Figure out the call chain of programs on zOS.
You might open an issue with Natural / ADABAS.
Hope this helps,
d
d
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute