I have a cobol program with a sub program. How ca i find that
it is a dynamic call? or static call..?
Answers were Sorted based on User's Feedback
Answer / adarsh
in addition to above answers, we can find by seeing compiler
option.if copt=dynam it is dynamic call,default is nodynam
i.e static call.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / seema dawlekar
In a main program if we are calling subprogram directly ie
by giving 'call subprog' then it is static call.
ex:call subprog.
if we are moving the subprogram name to the working storage
variable and calling the working storage variable then it a
dynamic call ie.,
ex:
01 ws-var1 pic x(10).
move subpgrog to ws-var1.
call ws-var1.
Is This Answer Correct ? | 7 Yes | 7 No |
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
where did you see the information regarding abend codes in jcl?
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
In COBOL, what is the different between index and subscript?
0 Answers TryTechnicals Pvt Ltd,
Should I use STOP RUN in the sub program??why?
what is the default print format? in cobol
what is the use of filler in cobol programing?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)