View previous topic :: View next topic
|
Author |
Message |
nggaikwad
New User
Joined: 04 Mar 2009 Posts: 7 Location: SA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
nggaikwad
New User
Joined: 04 Mar 2009 Posts: 7 Location: SA
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Thanks for your quick response |
You're welcome
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 |
|
|
|