BY seeing a program how can we say that it is static call
or dynamic call
Answer Posted / amit bhomle
Dynamic call is identified by a call variable whereas
static call is identified by the the call literal.In the
program it is idetified as follows:
1)Dynamic call:- If the PGM name is moved to the ws-
variable in cobol and PGM is called using this ws-
variable,then it is called Dynamic call.
Ex:- 01 WS-PGM PIC X(08)
MOVE 'PGM-NAME' TO WS-PGM
CALL WS-PGM
2)Static call:-If the PGM is called directly by using the
PGM name,then it is static call and it is default in COBOL.
Ex:- CALL 'PGM-NAME'
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
example for sub strings ? and refernce modifications whit output pls
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
In COBOL programming, what is PERFORM? What is VARYING?
When is inspect verb is used in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Discuss about changing dataset name in proc.
What are the different rules of SORT operation?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are the different types of condition in cobol and write their forms.
What is comp-1 and comp-2?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between Call and a Link?
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.