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: 8338
Location: Dubuque, Iowa, 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
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm
No new posts Program usage statistics? John Poulakos CICS 6 Wed May 16, 2018 2:22 am
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am

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