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 |
db2 variable decimal(15,2) what is the equalent size of cobol variable
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.
what is the difference between Plan & package
9(2).99 how many bytes take? Why . consider as a byte?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
If I want to increase the Limit in GDG. What should I do?
What guidelines should be followed to write a structured cobol prgm?
What are the ways you can generate a copybook?
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.