Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


How can we know that cobol program is using report file or simple file....?

4 Answers  


How can you add a particular field/coloumn in copybook?

3 Answers   ADP, DELL, L&T,


which one is better among static call and dynamic call?

3 Answers  


How do you define a variable of comp-1 and comp-2?

0 Answers  


wht is the difference between goto and perform stmts

7 Answers   DELL,


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,


what is the difference between Plan & package

3 Answers   IBM,


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


can we display comp-3 variables. if we want to display what we have to do . give me one example

6 Answers   CGI, Deloitte,


how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

4 Answers   TCS,


Categories