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: 6968
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
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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