given the following:
77 A PIC 9V9 VALUE 9.5
77 B PIC 9 VALUE 9.
77 C PIC V9 VALUE 0.8
77 D PIC 9
77 E PIC 9
77 F PIC 9V999
what are the contenta of D E nad F after the following
statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589 E=8 D=1
b.F=9.589 E=8 D=9
c.F=9.589 E=7 D=9
d.F=9.589 E=7 D=1
Answer Posted / maneesh
d in the answer
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What are various search techniques in cobol? Explain.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is amode(31)
What is difference between static and dynamic call in cobol?
Write some characteristics of cobol as means of business language.
i need a small 3d program using inline and outline.
In COBOL, what is the different between index and subscript?
What is the difference between comp and comp-3?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
In which area will you utilize 88 level items in cobol?
Why did you choose to work with ibm mainframe cobol programming?
Explain how to differentiate call by context by comparing it to other calls?