View previous topic :: View next topic |
Author |
Message |
rintu Beginner
Joined: 28 Feb 2006 Posts: 7 Topics: 3
|
Posted: Wed Mar 01, 2006 10:51 pm Post subject: Utility that can list all the called modules in COBOL |
|
|
Utility that can list all the called modules in a main program. It should identify both static and dynamic calls |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Thu Mar 02, 2006 1:10 am Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Mar 02, 2006 8:17 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
NorthernDancer Beginner
Joined: 01 May 2007 Posts: 44 Topics: 22 Location: DOWNTOWN BUFFALO, NY
|
Posted: Tue May 01, 2007 12:22 pm Post subject: |
|
|
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 |
|
 |
|
|