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 

COMPUTE vs ADD/SUBTRACT/MULTIPLY/DIVIDE

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


Joined: 20 Dec 2005
Posts: 9
Topics: 3

PostPosted: Tue Dec 20, 2005 4:17 am    Post subject: COMPUTE vs ADD/SUBTRACT/MULTIPLY/DIVIDE Reply with quote

Is COMPUTE better/faster than ADD/SUBTRACT/MULTIPLY/DIVIDE in COBOL. If so, then can anyone tell the reason why COMPUTE is better?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Dec 20, 2005 5:27 am    Post subject: Reply with quote

ayashp,

Please search before posting. check this link

http://mvsforums.com/helpboards/viewtopic.php?p=13274#13274

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ayashp
Beginner


Joined: 20 Dec 2005
Posts: 9
Topics: 3

PostPosted: Tue Dec 20, 2005 5:42 am    Post subject: Reply with quote

Thanks Kolusu..

From the link I found that it depends on the complexity of the situation where COMPUTE or ADD will be used and depending on that performance of the verbs will be decided.
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