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
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is the Purpose of Pointer in the string?
What is the difference between comp and comp-3 usage?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are 77 levels used for?
Describe the cobol database components?
i need a small 3d program using inline and outline.
How many bytes S(8) comp field occupy and its maximum value?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
how to access the file from prodution from changeman tool and to submit a file to production
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is inspect in cobol ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you get the data to code the BMS macro?