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 do u link sub pgm to main pgm ?

2 Answers   TCS,


How do we get current date from system with century?

2 Answers  


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.

10 Answers   ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,


how do you reference the esds vsam file formats from cobol programs

0 Answers  






perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


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

3 Answers   CTS,


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.

1 Answers  


Name the sections present in data division.

0 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

2 Answers   ITC Indian Tobacco Company, PNP, TCS,


Categories