BY seeing a program how can we say that it is static call
or dynamic call
Answer Posted / amit bhomle
Dynamic call is identified by a call variable whereas
static call is identified by the the call literal.In the
program it is idetified as follows:
1)Dynamic call:- If the PGM name is moved to the ws-
variable in cobol and PGM is called using this ws-
variable,then it is called Dynamic call.
Ex:- 01 WS-PGM PIC X(08)
MOVE 'PGM-NAME' TO WS-PGM
CALL WS-PGM
2)Static call:-If the PGM is called directly by using the
PGM name,then it is static call and it is default in COBOL.
Ex:- CALL 'PGM-NAME'
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is cobol?
Explain how you can characterize tables in cobol?
How arrays can be defined in COBOL?
Explain what you understand by passing by value.
What is Pic 9v99 Indicates in COBOL?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How can you get the ksds file records into your cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are different data types in cobol?
Whats the difference between search & search ALL?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How you can characterize tables in cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?