What are differences between Static Call and Dynamic Call?
Answer Posted / prince
Static call refers calling of the program in same
storage.Calling the program by its name. The program will be
calling using NODYNAM compiler option.In Static call
subprogram is linked at Compile time.In static call if we
want to edit the subprogram we need to compile both main
program and sub program. Static call calls one
program.Static program takes less time to execute. For
static call both calling and called programs will be having
one load module and they share only one load module.
Dyanamic call refers calling the program may be in differnt
storage.Calling the subprogram by a variable name. The
program is Calling using DYNAM option.In Dyanamic call
subprogram is linked at run time.The program must be in copy
library.In Dynamic call if we want to edit the subprogram we
need to compile only sub program.Dynamic call calls many
program. If the subprogram involves continuous change
Dynamic call is used.But for dynamic calling both calling
and called program have their own seaperate load modules.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how do you reference the printer file formats from cobol programs
Why did you choose to work with ibm mainframe cobol programming?
State the various causes of s0c1, s0c5 and s0c7.
how do you reference the variable block file formats from cobol programs
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you define single dimensional array and multidimensional array in your cobol?
how to refer the data field?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are the different open modes available in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How you can read the file from bottom?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks