What is the difference between PIC 9.99 and 9v99?

Answer Posted / mf buzz

there is a small correction in above example.
ex.
A PIC 9.99 VALUE 1.11
B PIC 9v99 VALUE 2.22

display A,B

RESULT

a= 1.11
b=222 ( decimal point is not displayed)

Is This Answer Correct ?    39 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What guidelines should be followed to write a structured cobol prgm?

662


What is difference between static and dynamic call in cobol?

766


Write a program to enter and display the names of students in a class using the occurs clause.

642


What is the difference between Call and a Link?

692


what is the difference between COBOL2 AND COBOL390?

2441






What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


Write the code implementing the perform … varying.

636


What is link edit in cobol?

731


Name some of the examples of COBOl 11?

2673


For rewrite, why is it mandatory that file needs to be opened?

616


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

807


what is the use of outrecord?

1765


How you can characterize tables in cobol?

708


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

736


What is rmode(24)

674