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

can i use multiple when statements in search & search all ? justify ur answer?

2 Answers  


describe 805 error

6 Answers   DELL,


What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 Answers  


I got user abend U4038 while compiling my runjcl.. can anyone help me?

10 Answers   CGI,






how many bytes do SPPPP999 will store?

18 Answers  


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


What is binary search?

3 Answers  


Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $

4 Answers  


Describe the cobol database components?

0 Answers  


2)Where the Plan is located in CICS-DB2?

1 Answers   IBM,


Categories