What are differences between Static Call and Dynamic Call?
Answer Posted / ananta bajpai
1.Static call is that in which programe is directly called
by its name. where as Dynamic call is that in which
programe called by a variable name.e.g programe name is
moved into a variable and that variable is used in call
statemant like
working-storage section.
01 var pic x(4) value 'call1'.
.
.
procedure division.
call var.......
Note ; programe name must be given in working-storage
section.
2.static call linked at complie time where as dynamic call
at run time
3.in static call called programe never come into initiall
state after one time run.There is alway requried to complie
every time for new task .Instead of this dyanmic call call
programe always in initiall state
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Name the sections present in data division.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between perform … with test after and perform … with test before?
Write a program to explain size error.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Difference between cobol and cobol-ii?
What are the different data types in cobol?
What is length is cobol?
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
A table has two indexes defined. Which one will be used by the SEARCH?
How do you reference the following file formats from cobol programs?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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.
Difference between array and sub-script ?
What is the use of intialize verb?