Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to identify the DYNAMIC subroutine in PANVALET progs.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How to identify the DYNAMIC subroutine in PANVALET progs.
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

Site Director


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

PostPosted: Wed Mar 11, 2009 2:58 am    Post subject:
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    Post subject: Reply to: How to identify the DYNAMIC subroutine in PANVALET
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Mar 11, 2009 3:34 am    Post subject: Reply to: How to identify the DYNAMIC subroutine in PANVALET
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) -

http://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

Site Director


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

PostPosted: Wed Mar 11, 2009 4:39 am    Post subject:
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    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 Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us