how to run sub programs using static and dynamic call ...

Answers were Sorted based on User's Feedback



how to run sub programs using static and dynamic call .....

Answer / vijay kumar

static:- its is identified by the CALL LITERAL.

Syntax:- CALL 'program name'.


Dynamic:- it is identified by the variable

Ex:- 01 ws-program pic x(8)
MOVE 'program name' to ws-program
CALL 'ws-program'.

Is This Answer Correct ?    9 Yes 2 No

how to run sub programs using static and dynamic call .....

Answer / raj

Static Call or dynamic call depends upon how the program is
compiled.

Static call/Dynamic call can be called using literal or
variable name.

Is This Answer Correct ?    1 Yes 0 No

how to run sub programs using static and dynamic call .....

Answer / guest

using call statement in the main program

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More COBOL Interview Questions

I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?

1 Answers   Mphasis,


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

7 Answers   TCS,


Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,






If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


) How do you access the migrate the data from production region to development region

1 Answers   IBM,


what is the difference between perform varying and perform until

4 Answers   TCS,


What is static and dynamic call in cobol?

0 Answers  


what is srange and nosrange pls reply to ths question ?

2 Answers   L&T,


How many divisions we have in Cobol ?

4 Answers   Wipro,


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


Categories