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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is s000 u4087 error? please give the all error codes in cobol,jcl.

17054


What are the different open modes available in cobol?

722


What is redefines clause in COBOL?

851


What is the difference between next sentence and continue in cobol programing language?

712


What are the rules of the move verb?

709






In COBOL programming, what is PERFORM? What is VARYING?

672


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

714


What is amode(31)

726


how do you reference the printer file formats from cobol programs

669


How to remove 2 duplicate records and copy only one using job control language?

755


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

748


What is report-item in COBOL?

712


What is the difference between comp and comp-3?

704


Which is not true about evaluate statement

1596


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1908