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 

BLANK WHEN ZERO - a general doubt

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


Joined: 29 Mar 2005
Posts: 34
Topics: 18
Location: Canada

PostPosted: Sat Aug 27, 2005 11:53 am    Post subject: BLANK WHEN ZERO - a general doubt Reply with quote

Hi ,

I have a numeric variable which contains value as 0 (ZERO).in order to avoid displaying them in a report. I used BLANK WHEN ZERO Is that variable can be used in any arithmetic operrations. Since BLANK WHEN ZERO is one of the editing picture clause.Using them in to arithmetic operation is acceptable.
Regards,
P.Karthik
_________________
For any type of complex problems there will be multiple easiest solutions
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Sat Aug 27, 2005 11:38 pm    Post subject: Reply with quote

pkarthik,

You can't use the Numeric Edited variables in arithmetic operations. You need to use another normal numeric variable, perform all calculations and finally before you write to the report, move its contents to the numeric edited and write that onto the report file.

hope this helps,

Thanks,
Phantom
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