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 / man
d. unpredictable
GROUP-ITEM is considered as alphanumeric. You can only
initialise a group item.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How are the next sentence and continue different from each other?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to know whether the module is dynamical or statistical?
What the difference is between continue and next sentence?
Write a program that uses move corresponding.
What is a scope terminator give example?
How many bytes S(8) comp field occupy and its maximum value?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
i need a small 3d program using inline and outline.
how to access the file from prodution from changeman tool and to submit a file to production
A table has two indexes defined. Which one will be used by the SEARCH?
How do you reference the fixed block file formats from cobol programs
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
HOw can I get the negative sign while deduct high value from low value