Hi,
My interviewer ask A calls B and C calls B, a and b are
static c and b are dynamic.what happens if they compile and
execute at same time.

Answers were Sorted based on User's Feedback



Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what hap..

Answer / venu

in static call we cannot comile the main program without
compiling the subprg(B), you can get the error that is
object not found.

in dynamic call we can compile the main program without
compilation of subprg(B), but while executing the prg then
u can get the abend i.e, load not found that means s806.

Is This Answer Correct ?    13 Yes 2 No

Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what hap..

Answer / vssd

Declaring B as RENT (Re ENTranat) would be of use.
This takes care of allocation of memory for variable usage
of Program B - thus allowing copies of B to be executed
parallely.

Hope this helps, please correct me if wrong.

Is This Answer Correct ?    4 Yes 1 No

Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what hap..

Answer / malli

thanks venu and another question if a and c calls b at same
time i.e both a and c compike at sametime.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More COBOL Interview Questions

is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


How do you submit JCL via a Cobol program?

5 Answers   IBM,


What is XDC ?

3 Answers   Cap Gemini, IBM,


What is ASKTIME, SUSPEND

1 Answers   IBM,


WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  






What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,


how many bytes do SPPPP999 will store?

18 Answers  


how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?

2 Answers   TCS,


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


What is the difference between comp and comp-3?

0 Answers  


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


whats the disadvantage of search all over search?

4 Answers   Patni, TCS,


Categories