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

How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

0 Answers  


how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

2 Answers  


what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99

2 Answers   TCS,


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


What is inspect in cobol ?

0 Answers   Infosys,






01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

0 Answers   IBM,


what is filler and what is use of filler

3 Answers   Syntel,


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  


In COBOL "BEFORE" advancing is there or not ?

3 Answers  


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

0 Answers  


What is the Importance of GLOBAL clause According to new standards of COBOL?

2 Answers   Infosys,


Categories