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: 1191
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 display offset thru cobol prog... tvinodkumar7 CICS 2 Sun Apr 22, 2018 8:42 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am

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