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 have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


can we declare occurs in 01 level?

2 Answers   Temenos,


What is the file organization clause ?

2 Answers  


In an EVALUATE statement, can I give a complex condition on a when clause?

2 Answers  






how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array

3 Answers   ADP,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE

12 Answers   TCS,


What is the difference between subscript and index?

1 Answers  


Why occurs can not be used in 01 level ?

2 Answers   TCS,


Categories