What is the difference between a DYNAMIC and STATIC call in
COBOL?
Answer Posted / pratul singh
The Difference between DYNAMIC and STATIC is that the
STATIC call create a single load library(EXE) both Main
program as well as subprogram while the DYNAMIC call create
separate load library(EXEs) for Main program and subprogram.
STATIC CALL Example:
CALL '<subpg-name' using <argument>
DYNAMIC CALL Example:
01 WS-SUBPG-NAME PIC X(8) VALUE 'AAAAAAAA'
CALL <WS-SUBPG-NAME> USING <argument>
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What is a SSRANGE and NOSSRANGE?
What guidelines should be followed to write a structured cobol prgm?
how do you reference the fixed unblock file formats from cobol programs
Write down the divisions of cobol program?
What is the difference between next sentence and continue in cobol programing language?
Difference between array and sub-script ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How do define dynamic array in cobol.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
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
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
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