Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Finding names of sub-programs by just mentioning main prog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Finding names of sub-programs by just mentioning main prog
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: 2360
Location: Israel

PostPosted: Mon Sep 04, 2006 1:36 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us