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 / jyoti prakash
Ans is D and this 100% proof i have tested
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
example for sub strings ? and refernce modifications whit output pls
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the local-storage section?
Can a Search can be done on a table with or without Index?
What type of SDLC u followed? Why?
Explain what you understand by passing by value.
How do you define a variable of comp-1 and comp-2?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the various section in data division and briefly explain them.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different rules to perform a Search?
What is the Purpose of Pointer in the string?