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

How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


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

811


explain sorting techniques in cobol program?

690


What is a scope terminator give example?

657


What the difference is between continue and next sentence?

660






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

676


What are the different rules of SORT operation?

698


Define static linking and dynamic linking.

669


What is the difference between external and global variables in COBOL?

813


Explain about different table spaces.

650


What is a SSRANGE and NOSSRANGE?

820


What is the difference between PIC 9.99 and PIC9v99?

781


Write a cobol program making use of the redefine clause.

732


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710