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
What is the difference between goback, stop run and exit program in cobol?
What are the rules of the move verb?
How can you get the ksds file records into your cobol program?
What is the problem of ordered sequential files access?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Why would you use find and get rather than to obtain?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
In COBOL, what is the different between index and subscript?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Describe the cobol database components?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is the use of intialize verb?