if one main program ,n -subprograms are then which call you
follow ?why reasonuhg
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is the maximum data length for Numeric DataType ?
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
What is inspect in cobol ?
how can i see junk values in dclgen or in hostvariable of comp ?
what is Pic 9v99 Indicates?
How do you compile cobol program..?
What are the pertinent COBOL commands?
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
What is rmode(any) ?