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 is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
) How do u handle errors in BMS macro
how to convert the recors form vsam file to db2 table tru file aid
What are literals?
i need a small 3d program using inline and outline.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How you can read the file from bottom?
Explain the configuration section of a cobol program with examples of syntax.
Differentiate between structured cobol programming and object-oriented cobol programming.
What is amode(31)
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between structured cobol programming and object alternativelyiented cobol?
) what is the difference between AID and HANDLE AID?