View previous topic :: View next topic
|
Author |
Message |
shrinivas_d Warnings : 1 New User
Joined: 04 Sep 2006 Posts: 2
|
|
|
|
Hi All
Is there any method to find out the names of sub-programs by just mentioning main program name.
E.g suppose program 'A" call's program 'X" and "Y' .
then I know about pgm 'A ' . I want some method to know that pgm 'X' and "Y' are being called in pgm 'A' .
case 1 : 'A" , 'X" and 'Y' are plain COBOL programs.
case 2 : 'A" , 'X" and 'Y' are COBOL-DB2 programs. (can we find the releations by DBRM details) .
thanks
WARNING: TITLE EDITED |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Do you use static or dynamik link?
For dynamic link - as far as I know, there is no method to obtain the called subprogram.
For static link, you can use utilities like AMBLIST.
For DB2 connections, you will probably need to read and parse the data of SYSIBM.SYSDBRM.
O. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi, I think you can use searchFOR ( 3.14 ) to find this out. ! |
|
Back to top |
|
|
|