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 / man

d. unpredictable

GROUP-ITEM is considered as alphanumeric. You can only
initialise a group item.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about different table spaces.

650


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

631


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

676


What are declaratives and what are their uses in cobol?

714






What is the difference between comp and comp-3?

703


how do you reference the printer file formats from cobol programs

665


What the difference is between continue and next sentence?

660


) what is the difference between AID and HANDLE AID?

1637


what are decleratives in cobol?

1827


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


) How do u handle errors in BMS macro?

1428


What is a SSRANGE and NOSSRANGE?

820


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6830


What are the different data types in cobol?

797