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


Please Help Members By Posting Answers For Below Questions

how to access the file from prodution from changeman tool and to submit a file to production

6887


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

833


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

855


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

720


When is inspect verb is used in cobol?

791






What is the Purpose of Pointer in the string?

721


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

774


What is the difference between PIC 9.99 and PIC9v99?

904


What is length is cobol?

749


how do you reference the rrds file formats from cobol programs

936


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2128


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

943


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2203


What is static and dynamic call in cobol?

677


How do you define a variable of comp-1 and comp-2?

804