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 / naveen
Why not C?
Can we have the reason for the above answer?
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Write a cobol program making use of the redefine clause.
how do you reference the variable block file formats from cobol programs
What type of SDLC u followed? Why?
Explain the configuration section of a cobol program with examples of syntax.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to remove 2 duplicate records and copy only one using job control language?
What are the different open modes available in cobol?
What is the use of intialize verb?
What is the problem of ordered sequential files access?
i want a program using by if, evaluate , string, unstring, perform, occurs?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How do get the result of your program directly on your pc?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?