IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Finding names of sub-programs by just mentioning main prog


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shrinivas_d
Warnings : 1

New User


Joined: 04 Sep 2006
Posts: 2

PostPosted: Mon Sep 04, 2006 1:20 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Sep 04, 2006 1:36 pm
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon Sep 04, 2006 2:32 pm
Reply with quote

Hi, I think you can use searchFOR ( 3.14 ) to find this out. !
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
Search our Forums:

Back to Top