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

how do you reference the variable unblock file formats from cobol programs

994


What is the utilization of copybook in cobol?

872


What rules are to be followed while using the corresponding options?

823


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

861


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6077


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

862


What is redefines clause in COBOL?

1028


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

857


Why would you use find and get rather than to obtain?

894


) How do u handle errors in BMS macro?

1613


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1950


What is report-item in COBOL?

888


What kind of error is trapped by on size error option?

947


how can i see junk values in dclgen or in hostvariable of comp ?

2745


What are the pertinent COBOL

2233