suppose a cobol programme A calling programme B,C and D.
If C undergoes some change what if A,B,C,D need to be
recompiled or only C nee to be recompliled.

Answers were Sorted based on User's Feedback



suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D..

Answer / umesh sasankota

It depends on whether the compilation is Static or Dynamic.

Assuming Program A is calling Program B,C & D.

In Case of Static Compilation option (Compiler Option
NODYNM): Compile C first and then compile A. As no changes
in Programs B & D no compilation required for these 2 members.


In Case of Dynamic Compilation (Compiler Option DYNM), only
Program C need to be compiled.

Is This Answer Correct ?    21 Yes 0 No

suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D..

Answer / krishnan

Based on the compile option we will deside if static call
means C separately no need to complile if it is dynamic
means u need to recompile the C pgm

Is This Answer Correct ?    5 Yes 5 No

Post New Answer

More COBOL Interview Questions

What are the different rules of SORT operation?

0 Answers  


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


Explain the configuration section of a cobol program with examples of syntax.

0 Answers  


How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,






how to transfer the file from pc to mainframe??

5 Answers   TCS,


Have you code any new programs in COBOL ? What is the functionality of the programs?

2 Answers   Patni, Xansa,


What is the default value(s) for an initialize and what keyword allows for an override of the default?

0 Answers  


how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).

2 Answers   DELL, Mind Tree,


what is SYNCHRONIZATION?

3 Answers   Syntel,


In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.

4 Answers   Wipro,


We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?

5 Answers   IBM,


Categories