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
Explain about different table spaces.
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)?
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...)
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are declaratives and what are their uses in cobol?
What is the difference between comp and comp-3?
how do you reference the printer file formats from cobol programs
What the difference is between continue and next sentence?
) what is the difference between AID and HANDLE AID?
what are decleratives in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
) How do u handle errors in BMS macro?
What is a SSRANGE and NOSSRANGE?
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?
What are the different data types in cobol?