What is the difference between PIC 9.99 and 9v99?

Answer Posted / pal

PIC 9.99 occupy 4 bytes
PIC 9v99 occupy 3 bytes

ex.
A PIC 9.99 VALUE 1.11
B PIC 9v99 VALUE 2.22

display A,B

RESULT

A=1.11
B=2v22

Is This Answer Correct ?    11 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why would you use find and get rather than to obtain?

679


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

642


Which Search verb is equivalent to PERFORM…VARYING?

680


What is the difference between Call and a Link?

694


Can you please let me know the centre name of INS certification in Kolkata.

1713






i want a program using by if, evaluate , string, unstring, perform, occurs?

4045


What are the pertinent COBOL

2041


What is comp-1 and comp-2?

756


Can a Search can be done on a table with or without Index?

800


What is the difference between perform … with test after and perform … with test before?

877


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

695


how to access the file from prodution from changeman tool and to submit a file to production

6680


How to remove 2 duplicate records and copy only one using job control language?

737


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1019


What are different data types in cobol?

685