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
 

 

COBOL - STATIC/DYNAMIC calls

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Wed Jun 22, 2005 8:31 am    Post subject: COBOL - STATIC/DYNAMIC calls
Reply with quote

Hi,

Q:1> Can we find whether it is STATIC or DYNAMIC call by cing the load
module ?

Q:2> By cing the program code how can u say that whether it is STATIC
or DYNAMIC call ?


These are the questions asked in the interviews..
Back to top
View user's profile Send private message

sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Wed Jun 22, 2005 1:15 pm    Post subject: Re: COBOL - STATIC/DYNAMIC calls
Reply with quote

Hi Sai,


Q1: By LoadModule in static the called Prg is also part of the LoadModule while in case of dynamic you can find another LoadModule for the called Prg.

Q2:By code If it is dynamic call it is called using a literal
Code:
call literal-name

containing name of the called prg and compiler option

Check this topic.

http://www.ibmmainframes.com/viewtopic.php?t=91&highlight=dynamic+call

I think this would be helpful
Back to top
View user's profile Send private message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Fri Jun 24, 2005 8:09 am    Post subject: Re: COBOL - STATIC/DYNAMIC calls
Reply with quote

Hi Sudheer,

What ever u have told is right, but I'm asking u whether we can identify the sattic or dynamic call by seeing a load module.
Back to top
View user's profile Send private message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Fri Jun 24, 2005 8:57 am    Post subject: COBOL
Reply with quote

Hi,

How do you represent 2 power x value in COBOL ?
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


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