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

How to identify the DYNAMIC subroutine in PANVALET progs.


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

New User


Joined: 04 Mar 2009
Posts: 7
Location: SA

PostPosted: Wed Mar 11, 2009 2:42 am
Reply with quote

Dear All,

Please let me know about how we can identify the DYNAMIC subroutine in PANVALET programs.

We have all programs which are residing in PANVALET library. Is there any way to find out it?

Please suggest,

Thanks,
Nits
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 11, 2009 2:58 am
Reply with quote

Hello,

Are you asking about code that is invoked by a dynamic call rather than a static call?

If yes, this is not an issue with panvalet. It is an issue with cobol in general. Looking at the source alone will not tell you positively if a module is invoked statically or dynamically.
Back to top
View user's profile Send private message
nggaikwad

New User


Joined: 04 Mar 2009
Posts: 7
Location: SA

PostPosted: Wed Mar 11, 2009 3:14 am
Reply with quote

Dear Dick,

Thanks for your quick response, Yes You are right, But what I am looking for is, I want to identify these programs which has such DYNAMIC calls. I want to list them as part of my analysis.

Can you please suggest any option if you have any...

Thanks,
Nits
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Mar 11, 2009 3:34 am
Reply with quote

You can begin reviewing the "Signature Information Bytes", which begin at X'84' of the program (load module). The program will need to be compiled using the LIST,NOOFFSET compiler options, so that the generated Assembler code can be viewed.

Click below (watch the wraparound) -

publib.boulder.ibm.com/infocenter/ratdevz/v7r5/index.jsp?topic=/com.ibm.ent.cbl.zos.doc/topics/PGandLR/ref/rpbug03.htm

Once determined whether the bit is "ON" for DYNAM or "OFF" for NODYNAM, this should give you an idea.

Although the above link is for Enterprise COBOL 4.1, X'84' has been the starting address of these Signature Bytes since COBOL/370 or even COBOL2.

Regards,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 11, 2009 4:39 am
Reply with quote

Hello,

Quote:
Thanks for your quick response
You're welcome icon_smile.gif

If you need to re-compile these modules, i suggest you create a new load library to hold them so as to prevent any surprises with the existing load modules. . .
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 Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Identify Program Insert DB2 7
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top