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

given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,


What are the pertinent COBOL commands?

0 Answers   Satyam,


I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?

3 Answers  


Whats the use of Examine command? can someone help me?

1 Answers   IBM,


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,






Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  


what is mainframe? what is the mainframe software ? what is use in s/w field?

7 Answers   CSE,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


Discuss about changing dataset name in proc.

0 Answers  


Difference between ps, esds

3 Answers  


Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?

12 Answers   T systems, Tech Mahindra,


in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......

2 Answers   IBM,


Categories