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
Which Search verb is equivalent to PERFORM…VARYING?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Which division and paragraphs are mandatory for a COBOL program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is inspect in cobol ?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Difference between array and sub-script ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are different data types in cobol?
How to know whether the module is dynamical or statistical?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are 77 levels used for?
How are the next sentence and continue different from each other?
What is the difference between PIC 9.99 and PIC9v99?
What is the LINKAGE SECTION used in COBOL?