consider the following piece of code
01 GROUP-ITEM
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable
Answer Posted / naveen
Why not C?
Can we have the reason for the above answer?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
When is inspect verb is used in cobol?
Name the divisions, which are available in a cobol program?
What is the difference between Call and a Link?
Differentiate between structured cobol programming and object-oriented cobol programming.
Difference between cobol and cobol-ii?
What is Pic 9v99 Indicates in COBOL?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is rmode(24)
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Difference between array and sub-script ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
HOw can I get the negative sign while deduct high value from low value
What type of SDLC u followed? Why?
How do get the result of your program directly on your pc?
What is static and dynamic call in cobol?