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
 
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 LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts finding delayed job/s in OPC jzhardy IBM Tools 0 Mon May 29, 2017 9:04 am

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