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

What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704


what is amode(24), amode(31), rmode(24) and rmode(any)?

687


What is comp-1 and comp-2?

754


What is rmode(24)

674


Write a program to explain size error.

667






Define static linking and dynamic linking.

655


How do you define a variable of comp-1 and comp-2?

692


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5355


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

847


Discuss about changing dataset name in proc.

757


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

666


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2717


What is a SSRANGE and NOSSRANGE?

809


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5663


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1580