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 |
What is the difference between Global and External Variables?
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
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
what is filler and what is use of filler
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......
What is Comm?
2 Answers IBM, Kemper Corporation,
1.What is the default print format in cobol?
Suppose i want to declare a binary comp fild of 7 byte .how to write?
what is the maximum error code in mainframe
What is the default value(s) for an initialize? What keyword will allow for an override of the default?