How can I tell if a module is being called DYNAMICALLY or
STATICALLY?
Answers were Sorted based on User's Feedback
Answer / sudha
If there is DYNAM compiler option then the module is
dynamically called. A STATICally called module is one that
is bound with the calling module at link edit, and
therefore becomes part of the executable load module.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / dev
also the method of calling is differnt in cobol code also
static call
call 'pgmname'
dyanmic call
call identifier eg call pgmvar
where pgmvar is a working storage variable having the pgm
name
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / arun
Answer 1 is exact. calling a program using working-storage
variable is implicit call and it does not make a dynamic
call.
| Is This Answer Correct ? | 8 Yes | 0 No |
How do pass the values to the parameters in cobol
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
What is inspect in cobol ?
what is the difference between Plan & package
what is MSGLEVEL?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
What is the difference between Global and External Variables?
How do you get the data to code the BMS macro?
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr