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 / ashok
i have tried it, the answer is D unpredictable
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain how you can characterize tables in cobol?
Which is not true about evaluate statement
How do u write test cases?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How to remove 2 duplicate records and copy only one using job control language?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how do you reference the ksds vsam file formats from cobol programs
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
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
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
what is search and searchall?what is the diffrence between them?give an best example?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between comp and comp-3 usage?