What is the difference between PIC 9.99 and 9v99?

Answer Posted / ananta

In pic 9.99 there is dicemal which ocupy space like when we
calculat number of bytes inthis there is 4bytes where as
pic 9v99
has assumed decimal it contains only 3bytes.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various section in data division and briefly explain them.

692


What is the Purpose of Pointer in the string?

640


How you can read the file from bottom?

658


what are decleratives in cobol?

1827


What is the difference between binary search and sequential search?

638






Can we change the password using ALTER? anyone tried and changed?

1542


HOw can I get the negative sign while deduct high value from low value

1784


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.

928


How many sections are there in data division in COBOL?

676


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10574


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1798


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.

5673


How do you differentiate between cobol and cobol-ii?

651


A table has two indexes defined. Which one will be used by the SEARCH?

752


How to print 10 to 1 if the input have only 10 digit number?

808