given the following piece of code:
CALL SUB-PGM USING A, B, C.
CALL SUB-PGM USING A, C, C.
(a) Both CALL statements will always produce same result.
(d) Both CALL statements may produce different result.
(c) Compile-time error because SUB-PGM is a dataname.
(d) Compile-time error because A, B, C are used twice.
Answers were Sorted based on User's Feedback
Answer / guest
b) both call statements may produce different results
| Is This Answer Correct ? | 8 Yes | 0 No |
what is the default print format? in cobol
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
01 a pic s9(5) occupies how many bytes ?
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
How do we get current date from system with century?
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
How do you set a return code to the JCL from a COBOL program?
How can you add a particular field in copybook?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
How to display the index.(displacement from an array)
How to open and see copy book ?
What is an in line perform? When would you use it? Anything else you wish to say about it.