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
Write a program that uses move corresponding.
Give some examples of command terminators?
How do u write test cases?
Explain about different table spaces.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
example for sub strings ? and refernce modifications whit output pls
What guidelines should be followed to write a structured cobol prgm?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are declaratives and what are their uses in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Describe the cobol database components?
What is the usage of comp fields in cobol?
what is the difference between COBOL2 AND COBOL390?