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
 
Cobol call question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
technut

New User


Joined: 27 Dec 2007
Posts: 73
Location: India

PostPosted: Thu Feb 18, 2010 11:18 am    Post subject: Cobol call question
Reply with quote

Hi,

Question: Program 'A' is dynamically linked to 'B'. 'B' is statically linked to 'C'.
One scenario: All programs are non-DB2
Second scenario: All programs have DB2 calls

If we make some changes in 'C' then what all steps are to be followed for both scenarios and why?

Would be great if somebody could provide the answer.

Thanks,
Sharath
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 18, 2010 12:06 pm    Post subject:
Reply with quote

I'm not sure how the DB2 factors in, but 'B' will have to be relinked with the changed 'C'...
Back to top
View user's profile Send private message
lvani

New User


Joined: 26 May 2010
Posts: 3
Location: Chennai

PostPosted: Fri Jul 02, 2010 4:25 pm    Post subject:
Reply with quote

In both cases we need to compile and link-edited B with the changes in C
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Fri Jul 02, 2010 4:48 pm    Post subject:
Reply with quote

lvani wrote:
In both cases we need to compile and link-edited B with the changes in C


lvani,

you have it half right. B needs to be relinked to pickup the new C.

now, many shops have 'standard' JCL, which means that just relinking a
module can not be done. but that is a shortfall of the standards.

as the question is posed:
the correct answer is relink B. there is no need to recompile B,
in either case.
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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am
No new posts Print call stack in Mainframe C DIPANKAR SAHA ABENDS & Debugging 2 Thu Mar 15, 2018 2:58 pm
No new posts batch cobol/db2 paragraph fall thru a... alois eisshofer COBOL Programming 5 Wed Mar 14, 2018 12:21 am

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