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

Finding a pgm is Static or Dynamic Linking


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sandeep More

New User


Joined: 05 May 2007
Posts: 2
Location: Mumbai

PostPosted: Sat May 05, 2007 12:14 pm
Reply with quote

Hi All,
I got this query in one of my job interviews.
Without knowing the compile parms how can one decide whether a program is statically linked or dynamically linked icon_confused.gif He asked whether I can determine the linking type just by looking at the program icon_question.gif

Please answer.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat May 05, 2007 12:24 pm
Reply with quote

Welcome, go to search and enter static dynamic and click search.
Back to top
View user's profile Send private message
dchanem

New User


Joined: 03 Apr 2007
Posts: 1
Location: chennai

PostPosted: Wed May 16, 2007 11:38 am
Reply with quote

Static program is bigger in size than a dynamic linking one in the load library.
Back to top
View user's profile Send private message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Fri May 25, 2007 10:55 am
Reply with quote

You can know it just by looking at the program...
Dynamic if call uses variable(s)
Statis if call uses literal.

hope this helps...
icon_biggrin.gif
Back to top
View user's profile Send private message
blueice

New User


Joined: 23 May 2007
Posts: 2
Location: CHENNAI

PostPosted: Mon May 28, 2007 9:24 pm
Reply with quote

hi all,

IN CASE OF DYNAMIC CALL, PROGRAM-ID WILL BE(MUST BE) SAME FOR MAIN AS WELL AS SUB PROGRAM...USING THS WE CAN IDENTIFY THE TYPE OF CALL..APART FROM THIS IF MAIN AND SUB R A PART OF SAME LOAD MODULE THEN IN THIS CASE ITS STATIC CALL...
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top