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 

Decimal Point

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


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Wed Jan 07, 2004 6:35 am    Post subject: Decimal Point Reply with quote

What is the difference between using PIC 99V99 and PIC 99.99 when reading from a file?
_________________
Cheers!
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Wed Jan 07, 2004 7:02 am    Post subject: Reply with quote

PIC 99.99:
The data on your file should contain a decimal point, i.e. 44.44 should appear on the file as "44.44".
PIC 99V99:
The data on your file should not contain a decimal point, i.e. 44.44 should appear on the file as "4444".
This is because "V" represents a virtual or implied decimal point, not an actual character.
Back to top
View user's profile Send private message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Thu Jan 15, 2004 7:25 am    Post subject: Reply with quote

Thanks Mike
_________________
Cheers!
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