Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

COMPUTE A = 10 ** B??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
daye.Zheng

New User


Joined: 15 Feb 2008
Posts: 22
Location: China

PostPosted: Tue Jul 29, 2008 8:19 am    Post subject: COMPUTE A = 10 ** B??
Reply with quote

Hi all,

I got a problem.

COMPUTE A = 10 ** B,

My question is what is the ** meanning??

if the B is 10, what is the result of A ??
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jul 29, 2008 8:43 am    Post subject:
Reply with quote

Hello,

What happens when you run this on your system?

At the top of the page is a link to "IBM Manuals". Click on the COBOL Language Reference for the version of COBOL you are using. Search in that manual (the flashlight/tubelight) for "Arithmetic operators".
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jul 29, 2008 11:29 am    Post subject: Reply to: COMPUTE A = 10 ** B??
Reply with quote

Daye,

Quote:
My question is what is the ** meanning??


It refers to "exponentiation" and as suggested by Dick do refer the manuals.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compute statement not working sandeep kumar302 COBOL Programming 5 Wed Apr 02, 2014 7:12 pm
No new posts Getting S0C7 in the compute statement raviprabhu COBOL Programming 4 Mon Feb 17, 2014 10:23 pm
No new posts Compute in Outrec Priyanka Pyne JCL & VSAM 2 Mon Sep 26, 2011 9:14 pm
No new posts How to compute Average using Syncsort afroz.alam JCL & VSAM 11 Thu Sep 15, 2011 8:02 am
No new posts How to compute the percentage on TRAI... Raghunadhareddy.J JCL & VSAM 7 Thu Apr 28, 2011 4:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us