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

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


what are the working storage fields in BMS macro?

2 Answers   IBM,


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

0 Answers  


how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  






1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?

1 Answers  


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


How can I tell if a module is being called DYNAMICALLY or STATICALLY?

3 Answers   CTS,


Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

3 Answers   IBM, UST,


in real time what is the suitable exp where in-stream procedure is better then catalog procedure.

1 Answers  


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


Categories