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
 

 

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: 6966
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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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