study the following
01 A PIC 99V0 VALUE 5
01 B PIC 9V9 VALUE 6
01 C PIC 99V9 VALUE 2.5
01 D PIC 99 VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above
statement are
a.A=10 B=0 C=10
b.A=10 B=9.9 C=9.9
c.A=10 B=0 C=9.9
d.A=10 B=6 C=10
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is rmode(any) ?
Give some examples of command terminators?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is a scope terminator give example?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do you reference the fixed block file formats from cobol programs
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
explain sorting techniques in cobol program?
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.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How arrays can be defined in COBOL?
how do you reference the fixed unblock file formats from cobol programs