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 

PIC 99.99 and PIC 99V99

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


Joined: 08 Mar 2006
Posts: 15
Topics: 3

PostPosted: Tue Apr 18, 2006 10:47 pm    Post subject: PIC 99.99 and PIC 99V99 Reply with quote

I would like to know what is the difference of PIC 99.99 and PIC 99V99

is PIC 99.99 a valid data format?

Thanks! Smile
Back to top
View user's profile Send private message
Crox
Beginner


Joined: 29 May 2004
Posts: 52
Topics: 9

PostPosted: Wed Apr 19, 2006 1:43 am    Post subject: Reply with quote

The V in PIC 99V99 is virtual and does not need space.

PIC 99.99 depends on the DECIMAL-POINT clause, which can be COMMA. But if not, the decimal-point does use one byte of storage and acts like a decimal point. If the decimal-point is comma, it takes also one byte, but it is not a decimal-point so as a result of a compute or a move, depending on the place of the (also virtual) comma, you will find the dot on an other place. It is a valid data format, but why don't you just make a small program and play a bit with those things. When the compiler accepts your statements and you get output using DISPLAY or so, you will find out everything you want to know. The computer won't byte.
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