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 / jyoti prakash
Ans is D and this 100% proof i have tested
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Can you please let me know the centre name of INS certification in Kolkata.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
what is the difference between COBOL2 AND COBOL390?
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?
What is Pic 9v99 Indicates in COBOL?
Difference between cobol and cobol-ii?
how do you reference the esds vsam file formats from cobol programs
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
example for sub strings ? and refernce modifications whit output pls
Are you comfortable in cobol or jcl?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How do get the result of your program directly on your pc?
How do we get current date from system with century in COBOL?
how to convert the recors form vsam file to db2 table tru file aid