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

A.50

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and dynamic call in cobol?

777


What are all the divisions of a COBOL program?

663


Write some characteristics of cobol as means of business language.

619


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

421


what is search and searchall?what is the diffrence between them?give an best example?

5558






In COBOL, what is the different between index and subscript?

759


Which mode is used to operate the sequential file?

668


Explain the configuration section of a cobol program with examples of syntax.

659


IF I mention stop run in CICS what happens?

1896


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


What kind of error is trapped by on size error option?

740


What do you understand by psb and acb?

662


Write a program to explain size error.

677


What is the LINKAGE SECTION used in COBOL?

889