MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Utility that can list all the called modules in COBOL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
rintu
Beginner


Joined: 28 Feb 2006
Posts: 7
Topics: 3

PostPosted: Wed Mar 01, 2006 10:51 pm    Post subject: Utility that can list all the called modules in COBOL Reply with quote

Utility that can list all the called modules in a main program. It should identify both static and dynamic calls
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Thu Mar 02, 2006 1:10 am    Post subject: Reply with quote

You can use AMBLST, which is an IBM program and well documented in the fine manual.

O.
________
2RC146


Last edited by ofer71 on Sat Feb 05, 2011 11:35 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Mar 02, 2006 8:17 am    Post subject: Reply with quote

you can only really know dynamic calls by tracing the program at execution time. Some programs are written to dynamically create the name of the program to be called so there may not even be a literal constant in the caller's code. An example would be a command that times a program or debugs a program where the program name is an input parameter. I admit that it is probably bad design for programs other than such utilities, but I have seen it done in 'production' programs and I only mention it to say that no such utility can be 100% accurate.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Mar 02, 2006 11:56 am    Post subject: Reply with quote

rintu,

Did you post this seeking help or do you know the answer for this ?

If you posted this question seeking help , then I will move this to appropriate forum. Also check this for posting in this forum

http://www.mvsforums.com/helpboards/viewtopic.php?t=2260

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NorthernDancer
Beginner


Joined: 01 May 2007
Posts: 44
Topics: 22
Location: DOWNTOWN BUFFALO, NY

PostPosted: Tue May 01, 2007 12:22 pm    Post subject: Reply with quote

8) Not sure what COBOL challenge this is ?? I seem to have been able to find anything I've needed using ISPF EDIT, EXCLUDE ALL, FIND ' CALL ' all. If the called module is in W.S. then I'd just find any of those. If on the other hand, you want to establish the ORDER of what is called at EXEC time, then you need to put your own DISPLAYs in to follow the flow.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group