Under which scenario you would go for a static call as
opposed to dynamic call?
Answers were Sorted based on User's Feedback
Answer / shailesh_do
Again I believe there is performance factor involved apart
from compilation overhead for static calls.
Performance wise static call stands better than dynamic
calls as load need not to be linked at every execution for
static calling.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / preeti
If you have less storage space then you can use static call
at the place of dynamic call.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / lu
it's up to you....
Static call ==> when u modify the called program, you have
to recompile 3 programs (called and calling program.....
Dynamic call ===> when u modify the called program, u
recompile only the called program...
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / suputhru
If you have less storage space then you can use static call
at the place of dynamic call.
Performance wise static call stands better than dynamic
calls as load need not to be linked at every execution for
static calling.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajesh
If you want to execute all the subprograms with the caling
program every time U ve to go for static call.
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the difference between comp and comp-3 usage?
What is the meaning of 'TALLING' verb in cobol?
File status must be checked both while opening and reading the file or only while reading the file?
How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
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
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
Should I use STOP RUN in the sub program??why?
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
What are the pertinent COBOL
What do you do to resolve SOC-7 error?