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 / harish
u r right a. 50
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How arrays can be defined in COBOL?
What is redefines clause in COBOL?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
i want a program using by if, evaluate , string, unstring, perform, occurs?
How you can read the file from bottom?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Difference between array and sub-script ?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
what is the difference between COBOL2 AND COBOL390?
Why did you choose to work with ibm mainframe cobol programming?
What rules are followed by the search verb.
In COBOL, what is the different between index and subscript?
What is rmode(any) ?