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
 
cross reference of sub program called by dynamic mean.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Oct 08, 2009 9:54 am    Post subject: cross reference of sub program called by dynamic mean.
Reply with quote

Hi,
I want to get the cross reference of all main program calling a sub program.
I could able to get the cross reference of sub program called by static mean, but i dont know to get the cross reference of sub program called my dynamic mean.
Kindly help me to get the cross reference of sub program called by a main program by dynamic mean.
Back to top
View user's profile Send private message

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Oct 08, 2009 10:10 am    Post subject:
Reply with quote

You would have to scan all your source programs for ' CALL ' then determine whether or not it's a static or dynamic call.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8189
Location: East Dubuque, Illinois, USA

PostPosted: Thu Oct 08, 2009 4:54 pm    Post subject:
Reply with quote

Quote:
Kindly help me to get the cross reference of sub program called by a main program by dynamic mean
You're asking the impossible. For example, a COBOL program could read a file, take an 8-byte character variable from the file, and issue a CALL to the subprogram that the 8-byte character variable names. So unless you execute the program enough times to exercise every logic path, you might not be able to determine all the dynamically called programs. And even then, someone could add another record to the file, pointing to a different program, and now there's a new dynamically called subprogram to add to your cross reference.
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 Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 4 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am

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