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
 
Identify whether running program is static or dynamic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
dhananjay

New User


Joined: 01 Aug 2006
Posts: 4

PostPosted: Mon Nov 20, 2006 10:50 am    Post subject: Identify whether running program is static or dynamic
Reply with quote

How will you identify whether running program is static or dynamic?
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Nov 20, 2006 11:11 am    Post subject: Re: How will you identify program?
Reply with quote

Best way is to look for compiler option DYNAM/NODYNAM.

Anyway.. look how the the main program is calling SUB Program...

CALL WS-VARIABLE USING PARM-TEMP is a Dynamic Call, where you call a working storage variable and value of the sub program name is passed to the vaiable.

CALL <SUB-PRG-NAME> USING PARM-TEMP can be both static/dynamic.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Nov 20, 2006 11:14 am    Post subject:
Reply with quote

Hi There,

One more point by seeing the load of main program u can identify whether its calling sub program dynamically or statically.

Correction r welcome
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm

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