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

a is write ans

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

648


Are you comfortable in cobol or jcl?

631


What is static and dynamic call in cobol?

582


What is the difference between PIC 9.99 and 9v99 in COBOL?

720


State the various causes of s0c1, s0c5 and s0c7.

652






How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

349


How are the next sentence and continue different from each other?

751


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

698


How to print 10 to 1 if the input have only 10 digit number?

796


What is amode(24)?

674


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

729


how can i see junk values in dclgen or in hostvariable of comp ?

2532


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

629


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1602


What is the Purpose of Pointer in the string?

631