which is better either static call or dynamic call?
and why?

Answer Posted / siri

STATIC CALL:-THE SUB PROGRAM CODE WILL BE SMALL AT THE TIME WE PREFERED STATIC CALL...STATIC CALL IS FAST COMPARING TO THE DYNAMIC CALL...OBJECT CODES ARE LINKED BEFORE THE EXECUTION....
DYNAMIC CALL:- SUB PROGRAM IS CALLED FREQUENTLY WE USED TO DYNAMIC CALL...OBJECT CODES ARE LINKED DURING THE EXECUTION...
SO THE PROCESS WILL BE SLOW COMPARING THE STATIC CALL..ITS NO NEED TO RECOMPILE WHEN THE SUBPROGRAM NEED TO BE MODIFIED...THIS IS BIGGEST ADVANTAGE OF THE DYNAMIC CALL....SO
FIRST WE PREFERED TO THE DYNAMIC CALL.....S

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reference the fixed block file formats from cobol programs

705


How to remove 2 duplicate records and copy only one using job control language?

753


how do you reference the variable block file formats from cobol programs

686


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2114


how to refer the data field?

1812






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5377


What is a scope terminator give example?

657


) how do u code after getting data?

1580


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

709


) what is the difference between AID and HANDLE AID?

1636


Mention the guidelines to write a structured cobol program?

620


How many sections are there in data division in COBOL?

678


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


What are the different rules of SORT operation?

698


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906