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
What is a SSRANGE and NOSSRANGE?
What is perform what is varying?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Which mode is used to operate the sequential file?
Mention the guidelines to write a structured cobol program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the problem of ordered sequential files access?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How many bytes S(8) comp field occupy and its maximum value?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
In which area will you utilize 88 level items in cobol?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the different open modes available in cobol?