IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL - STATIC/DYNAMIC calls


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top