I have a cobol program with a sub program. How ca i find that
it is a dynamic call? or static call..?
Answers were Sorted based on User's Feedback
Answer / adarsh
in addition to above answers, we can find by seeing compiler
option.if copt=dynam it is dynamic call,default is nodynam
i.e static call.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / seema dawlekar
In a main program if we are calling subprogram directly ie
by giving 'call subprog' then it is static call.
ex:call subprog.
if we are moving the subprogram name to the working storage
variable and calling the working storage variable then it a
dynamic call ie.,
ex:
01 ws-var1 pic x(10).
move subpgrog to ws-var1.
call ws-var1.
| Is This Answer Correct ? | 7 Yes | 7 No |
How do u know what version of cobol u are using?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
What is different between variable length and fixed length?
what are the limitations of Inline Perform?
What is the LINKAGE SECTION used for?
how will u find out 3rd week's 2nd day using occurs ?
Difference between array and sub-script ?
what is the minimum number of lines a Cobol program should have to successfully compile and run
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Explain how you can characterize tables in cobol?
What is Redefines clause?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.