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 |
Difference between ps, esds
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
What are subroutines ? and how do we pass data to the sub routines?
What is binary search?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
What is the LINKAGE SECTION used in COBOL?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
what is the minimum number of lines a Cobol program should have to successfully compile and run
wht do u mean by (*,intrdr) wht is * used for ?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
in cobol perform stmt whether it first checks the condition or not
How will you find the currepted records in a file