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
 

 

Finding a pgm is Static or Dynamic Linking

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Finding a pgm is Static or Dynamic Linking
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: 3158
Location: Tucson AZ

PostPosted: Sat May 05, 2007 12:24 pm    Post subject:
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    Post subject: Re: Finding a pgm is Static or Dynamic Linking
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    Post subject: Re: Finding a pgm is Static or Dynamic Linking
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm


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