what is static and dynamic call with examples?

Answers were Sorted based on User's Feedback



what is static and dynamic call with examples?..

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

what is static and dynamic call with examples?..

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

what is static and dynamic call with examples?..

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

what is static and dynamic call with examples?..

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

Post New Answer

More JCL Interview Questions

Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?

4 Answers   IBM,


SORT card to eliminate duplicity.

1 Answers   Syntel,


What is the use of DSNDB07 ?

1 Answers  


What will happen if we write two STOP RUN's in a COBOL program?

4 Answers   Satyam,


how to code instream data in procedure?

3 Answers  






I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.

3 Answers  


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


What parameter directs the output of the job log dataset?

0 Answers  


Categories