View previous topic :: View next topic
|
Author |
Message |
vrch
New User
Joined: 21 Mar 2005 Posts: 20
|
|
|
|
I want to specify an exponential value to a data item.
I specified like this....
77 A pic 9(4) value 3 * * 4
Then i am getting " * was invalid " message.
And i again tried with MOVE statement like:
MOVE 3 * * 4 TO A.
Then also i am getting same msg.
Plz let me know is there any wrong with me.
Thanks,
Vrch |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
hi vrch,
I am sorry to say that but i think we dont have option for Exponential.
In your case that 3**4.
You need to run a loop, thru simple logic.
Correct me if i am wrong.
Thanks
Raj |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
vrch
Exponential is an arithmetic expression. Like addition ,division etc.. So you can't assign it with a value clause.
Try this method
01 A pic 9(4).
COMPUTE A = 3 ** 4
Raj
We do have this. ** represents exponential.
Regds
-Som |
|
Back to top |
|
|
vrch
New User
Joined: 21 Mar 2005 Posts: 20
|
|
|
|
Hi somaundaram
It's working...
Thank u.
Thanks,
vrch |
|
Back to top |
|
|
|