I have a cobol program with a sub program. How ca i find that
it is a dynamic call? or static call..?
Answer Posted / 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 |
Post New Answer View All Answers
How do u write test cases?
What are the different open modes available in cobol?
Which is not true about evaluate statement
What guidelines should be followed to write a structured cobol prgm?
When is inspect verb is used in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How you can characterize tables in cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Write a cobol program making use of the redefine clause.
What are literals?
) How do u handle errors in BMS macro?
What is comp-1 and comp-2?
What is the difference between goback, stop run and exit program in cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.