I have a cobol program with a sub program. How ca i find that
it is a dynamic call? or static call..?
Answer Posted / 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 |
Post New Answer View All Answers
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Which is not true about evaluate statement
What are the different data types in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
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?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Describe the cobol database components?
How many bytes S(8) comp field occupy and its maximum value?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
how do you reference the ksds vsam file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are literals?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between external and global variables in COBOL?