if one main program ,n -subprograms are then which call you
follow ?why reasonuhg

Answers were Sorted based on User's Feedback



if one main program ,n -subprograms are then which call you follow ?why reasonuhg..

Answer / krishna

Dynamic Call is always preferable, irrespective of the no
of Sub programs,but it all depends on the installation.

Is This Answer Correct ?    8 Yes 0 No

if one main program ,n -subprograms are then which call you follow ?why reasonuhg..

Answer / shiva

in dynamic call the subprogram load modules are linked
during execution..so it terms of processing it is slow
compared to satic...

but no need to compile main pgm every time when subprogm
is modified...it is one bst advantage over static call....

hence dynamic call is pereferable....

Is This Answer Correct ?    7 Yes 0 No

if one main program ,n -subprograms are then which call you follow ?why reasonuhg..

Answer / sandhya

dynamic call is preferable with respect to space and
static call is preferable with respect to fast execution...

Is This Answer Correct ?    3 Yes 0 No

if one main program ,n -subprograms are then which call you follow ?why reasonuhg..

Answer / harsha

intially we follow main program then all depends on the
control or flow of the main program itself for eg;
In main prog intially we call a subprog1 and after the
execution of subprog1 is over then control is back to the
main prog or to be simple the program which called...to bo
simple wherever the control gets it's start it's(control)
is finally returned to that point in the program

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More COBOL Interview Questions

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,


diffrence between renames and redifnes with examples

3 Answers   IBM,


if someone is using my file,how can i find which user id is using?

4 Answers  


01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.

15 Answers   ACS,


whats the difference between search and search all?

4 Answers   Patni,






What is the problem of ordered sequential files access?

0 Answers  


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


What is a subscript ?

3 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?

7 Answers  


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

0 Answers  


Categories