what is static and dynamic call with examples?
Answers were Sorted based on User's Feedback
Answer / vasanth
But looking at the program we can find if the called
program is static or dynamic by below ways :
If the called program is mentioned as a literal in the main
program , then you can say that it is a static program if
the compiler option is NODYNAM else it is a dynamic
program .If the called program name is mentioned as a
variable in the main program , then it is a dynamic program
irrespective of the compiler option.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / rangarao chitipothu
STATIC CALL: a call is a sub program at the time to compilation.here caller and called are one module.
--> It used more cpu time.
--> memory required can be more.
DYNAMIC CALL: a call to the subprogram at the time of execution(run time) is called dynamic call. here caller and called are separate load modules and they sharable by multiple calls.
--> it used less cpu time.
--> Memory required can be less.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chaitanya
can any one give me a sample code regarding the static call
and dynamic call?
how can u go to conclusion when we saw the code in the first
look at the code?
plzzzzzzzzzzzzz tell me reply......
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naga
in ou
Frequently changes in our program we using dynamic call
otherwise we using static call.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a MODEL Paramater in GDG ?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
What is COND=EVEN ?
Explain about LMINIT - generate a data ID for a data set
HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?
What is jcl in mainframe?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
how to put a dependency on job in jcl using opc scheduler?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
What are three parameters you can specify on Job statement as well as on exec stmt ?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
What is Uncatalog dataset? How can we access/use them?