Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us