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 |
how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what will happen if pass values more than 100 using PARM parameter?
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
What is an in line perform? When would you use it? Anything else you wish to say about it.
how to transfer the file from pc to mainframe??
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?