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
Why occurs cannot be used in 01 level in COBOL?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the various section in data division and briefly explain them.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how to move the records from file to array table. give with code example
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Write some characteristics of cobol as means of business language.
What is the difference between Call and a Link?
Name the divisions, which are available in a cobol program?
what is the use of outrecord?
Write a program to explain size error.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How you can read the file from bottom?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this