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
Why would you use find and get rather than to obtain?
How do you define a variable of comp-1 and comp-2?
What are the different data types in cobol?
What are 77 levels used for?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How do you get the data to code the BMS macro?
What is rmode(24)
what happens if parmparameter passes zero bytes to the program
What are the pertinent COBOL
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to print 10 to 1 if the input have only 10 digit number?
What is an in line perform? When would you use it? Anything else you wish to say about it.
how to access the file from prodution from changeman tool and to submit a file to production
What is the difference between PIC 9.99 and PIC9v99?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?