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
How to remove 2 duplicate records and copy only one using job control language?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do you reference the following file formats from cobol programs?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how to move the records from file to array table. give with code example
What are 77 levels used for?
What is the difference between next sentence and continue in cobol programing language?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is rmode(24)
what is difference between cobol and cobol/400
What is the compute verb? How is it used?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
State the various causes of s0c1, s0c5 and s0c7.
How arrays can be defined in COBOL?