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 |
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
What COBOL construct is the COBOL II EVALUATE meant to replace?
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
Can we use goto statement in inline_perform ?
How to resolve the soc4 and soc7 errors?
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
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
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
What is the significance of 'above the line' and 'below the line'?