Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between PIC 9.99 and 9v99?

Answers were Sorted based on User's Feedback



What is the difference between PIC 9.99 and 9v99?..

Answer / gobinath

pic 9.99 is a decimalpoint which occupy 4 bytes
pic 9v99 is a assumed decimalpoint which occupy 3 bytes

Is This Answer Correct ?    57 Yes 4 No

What is the difference between PIC 9.99 and 9v99?..

Answer / 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

What is the difference between PIC 9.99 and 9v99?..

Answer / abhinav nimje

Here as 9v99 takes 3 bytes which is preferrable for memory
management purpose.
So while Processing it wont display decimal point but
working will not be hampered.
9.99 will be used for displaying purpose only.

Is This Answer Correct ?    17 Yes 0 No

What is the difference between PIC 9.99 and 9v99?..

Answer / 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

What is the difference between PIC 9.99 and 9v99?..

Answer / ajay kumar

pic 99.9 will allocate memory size to the '.' also
but in order to save memory, 99v9 is used wherever possible.
'v' is cosidered as assumed decimal, which is used for calculation by program internally.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between PIC 9.99 and 9v99?..

Answer / jswan

The Pic 9.99 has a definite decimal point and contains 4 bytes, while the Pic 9v99 has a implied or assumed decimal point and contains 3 bytes.

Is This Answer Correct ?    2 Yes 0 No

What is the difference between PIC 9.99 and 9v99?..

Answer / 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

More COBOL Interview Questions

What is the default value(s) for an initialize? What keyword will allow for an override of the default?

0 Answers  


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


wht is packed decimal in cobol

2 Answers  


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


Explain the configuration section of a cobol program with examples of syntax.

0 Answers  


how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,


what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


What is a SSRANGE and NOSSRANGE?

0 Answers  


What is the Purpose of POINTER Phrase in STRING command

3 Answers  


What is the file organization clause ?

2 Answers  


88 class is used for

5 Answers   CTS, EDS,


Categories