WORKING-STORAGE SECTION.
01 VAR1 COMP-2 VALUE 0.
PROCEDURE DIVISION.
MOVE 10.2115 TO VAR1.
DISPLAY 'VAR1 =' VAR1.
GOBACK.
10.2115 is stored as .10211499999999996E 02 in OS VS Cobol
10.2115 is stored as .10211500000000000E 02 in ecobol.
Any reason why?
Answer Posted / islam
Ans is : 10.2115 is stored as .10211500000000000E 02 in
ecobol.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
What is the Purpose of Pointer in the string?
Define cobol?
What is link edit in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What type of SDLC u followed? Why?
Explain about different table spaces.
) How do u handle errors in BMS macro?
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
What is an in line perform? When would you use it? Anything else you wish to say about it.
Explain what you understand by passing by value.
What are the different open modes available in cobol?
Describe the cobol database components?
how do you define single dimensional array and multidimensional array in your cobol?
Which division and paragraphs are mandatory for a COBOL program?