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 / shan
A.50
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is cobol?
Write some characteristics of cobol as means of business language.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Why would you use find and get rather than to obtain?
how do you reference the variable block file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Define static linking and dynamic linking.
What are 77 levels used for?
What is report-item in COBOL?
How do you differentiate between cobol and cobol-ii?
Differentiate between structured cobol programming and object-oriented cobol programming.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are the pertinent COBOL commands?