how to run sub programs using static and dynamic call ...
Answers were Sorted based on User's Feedback
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 |
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 |
What is LENGTH in COBOL II?
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
What is the different between index and subscript?
HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER
How do you differentiate between cobol and cobol-ii?
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
What the difference is between continue and next sentence?
Explain Restart Logic in Cobol?
Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.
if someone is using my file,how can i find which user id is using?
How can we know that cobol program is using report file or simple file....?
what is filler and what is use of filler