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 / harish
u r right a. 50
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
In COBOL programming, what is PERFORM? What is VARYING?
what is the use of outrecord?
What guidelines should be followed to write a structured cobol prgm?
Can we redefine the field of x(200) to less than 200?
Can a Search can be done on a table with or without Index?
how do you reference the rrds file formats from cobol programs
What are the different types of condition in cobol and write their forms.
What is the compute verb? How is it used?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between binary search and sequential search?
What is the problem of ordered sequential files access?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
what happens if parmparameter passes zero bytes to the program
What is rmode(any) ?