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 are the different rules to perform a Search?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how do you reference the fixed unblock file formats from cobol programs
Write the code implementing the perform … varying.
What is a report item?
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 to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how to refer the data field?
Difference between array and sub-script ?
how do you reference the ksds vsam file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Which division and paragraphs are mandatory for a COBOL program?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Name the sections present in data division.
Write down the divisions of cobol program?