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 |
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
What are the pertinent COBOL commands?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
Whats the use of Examine command? can someone help me?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what is mainframe? what is the mainframe software ? what is use in s/w field?
I know my query will return more than one row but I don't want cursor what should I do?
Discuss about changing dataset name in proc.
Difference between ps, esds
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......