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
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to print 10 to 1 if the input have only 10 digit number?
explain sorting techniques in cobol program?
What is a scope terminator give example?
What the difference is between continue and next sentence?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are the different rules of SORT operation?
Define static linking and dynamic linking.
What is the difference between external and global variables in COBOL?
Explain about different table spaces.
What is a SSRANGE and NOSSRANGE?
What is the difference between PIC 9.99 and PIC9v99?
Write a cobol program making use of the redefine clause.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?