MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is the use of PIC 9.99 over PIC9V99?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
maverick05
Beginner


Joined: 15 May 2005
Posts: 72
Topics: 24

PostPosted: Sat Oct 02, 2010 3:11 pm    Post subject: What is the use of PIC 9.99 over PIC9V99? Reply with quote

HI,

If PIC 9V99 occupies less bytes than PIC 9.99,then where exactly PIC 9.99 is used?

Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Oct 02, 2010 4:28 pm    Post subject: Reply with quote

pic 9.99 is an edit mask which is x type.
pic 9v99 is an numeric field, and the V indicates where the decimal position.


_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
maverick05
Beginner


Joined: 15 May 2005
Posts: 72
Topics: 24

PostPosted: Sun Oct 03, 2010 1:04 am    Post subject: Reply with quote

I undersrand the difference.But where exactly this edit mask is used in real-time scenarios?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun Oct 03, 2010 1:35 am    Post subject: Reply with quote

look in the COBOL programmers guide and the language reference.
hyperlinks at the top of the page.

the programmers guide will describe the uses of an edit mask.
It is a well written manual and it makes no sense for me to paraphrase the verbiage here,
nor waste website space copying the material into this thread.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
computer
Beginner


Joined: 12 Jun 2007
Posts: 64
Topics: 17
Location: Hyderabad

PostPosted: Sun Oct 03, 2010 6:33 am    Post subject: Reply with quote

If you consider real-time scenarios, 9.99 is used in report generation where in report you get to see the decimal point in your report, but we cannot do any arithmetic operation.

And 9V99 is used where you need to have a decimal point but when displayed you cannot see the deciaml point and also it can be used for arithmetic operation.

Hope this helps!!!!!!!!!!!

Thanks,
Computer
Back to top
View user's profile Send private message
maverick05
Beginner


Joined: 15 May 2005
Posts: 72
Topics: 24

PostPosted: Sun Oct 03, 2010 7:02 am    Post subject: Reply with quote

Thanks all for the replies.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Sun Oct 03, 2010 12:08 pm    Post subject: Reply with quote

Consider that 9.99 is for people to use while 9v99 is for the computer to use (i.e external versus internal).
_________________
All the best,

di
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group