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


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

705


In COBOL programming, what is PERFORM? What is VARYING?

672


what is the use of outrecord?

1771


What guidelines should be followed to write a structured cobol prgm?

673


Can we redefine the field of x(200) to less than 200?

819






Can a Search can be done on a table with or without Index?

802


how do you reference the rrds file formats from cobol programs

800


What are the different types of condition in cobol and write their forms.

658


What is the compute verb? How is it used?

661


Can we change the password using ALTER? anyone tried and changed?

1547


What is the difference between binary search and sequential search?

641


What is the problem of ordered sequential files access?

702


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


what happens if parmparameter passes zero bytes to the program

1667


What is rmode(any) ?

686